67 Commits

Author SHA1 Message Date
Jorge Aparicio
17162b56fd v0.2.4 v0.2.4 2018-03-12 07:01:35 +01:00
bors[bot]
f2f35b6f98 Merge #20
20: turn LinearMap::new into a const fn r=japaric a=japaric
2018-03-12 05:58:28 +00:00
Jorge Aparicio
c31fa98618 turn LinearMap::new into a const fn 2018-03-12 06:57:57 +01:00
Jorge Aparicio
8f713e8fb2 v0.2.3 v0.2.3 2018-03-11 23:16:51 +01:00
bors[bot]
a29ec7acfc Merge #19
19: add LinearMap r=japaric a=japaric
2018-03-11 22:10:16 +00:00
Jorge Aparicio
0f4555895a remove unnecessary extern crate from example 2018-03-11 22:35:40 +01:00
Jorge Aparicio
d1e51cb43f add LinearMap 2018-03-11 22:35:27 +01:00
Jorge Aparicio
03203498f7 add Vec.swap_remove 2018-03-11 22:19:13 +01:00
bors[bot]
76f26e28e7 Merge #18
18:  Add AsMut and AsRef implementations for Vec and String  r=japaric a=glandium

And a cleanup commit removing unused `#![features]`
2018-03-07 15:08:34 +00:00
Mike Hommey
c5b5a53ed3 Add AsMut and AsRef implementations for Vec and String 2018-03-07 15:04:11 +09:00
Mike Hommey
b086fa992b Remove unused features 2018-03-04 07:19:01 +09:00
Jorge Aparicio
219dbd7236 add Per to the list of authors 2018-03-02 00:08:57 +01:00
Jorge Aparicio
95893d4155 v0.2.2 v0.2.2 2018-03-01 20:38:38 +01:00
Jorge Aparicio
534aad044c cargo fmt 2018-03-01 20:30:50 +01:00
bors[bot]
94a8e50858 Merge #17
17: refactor String impl r=japaric a=japaric
2018-03-01 19:25:06 +00:00
Jorge Aparicio
991d4c021f ci: fix Xargo install 2018-03-01 20:24:41 +01:00
Jorge Aparicio
aa8386e857 doc tweaks 2018-03-01 20:20:34 +01:00
Jorge Aparicio
8fc5da18bc remove commented out import 2018-03-01 20:17:16 +01:00
Jorge Aparicio
b6e80a7683 make fields of Vec private; impl From for String 2018-03-01 20:15:39 +01:00
Jorge Aparicio
43e093d507 fix Vec.extend_from_slice 2018-03-01 20:06:54 +01:00
Jorge Aparicio
b7e1948976 refactor and fix String.push 2018-03-01 19:52:47 +01:00
Jorge Aparicio
0dd522268c fix warnings 2018-03-01 19:40:39 +01:00
Jorge Aparicio
757dc3b2a0 ci: install Xargo binary 2018-03-01 19:35:55 +01:00
bors[bot]
459baf3e8f Merge #16
16: add String r=japaric a=perlindgren
2018-03-01 18:26:59 +00:00
Per
f43e08fd91 debug test 2018-03-01 19:25:00 +01:00
Jorge Aparicio
f663bedd9b bors-ng integration 2018-03-01 19:12:13 +01:00
Per Lindgren
faad961e9c add String 2018-03-01 19:00:55 +01:00
Jorge Aparicio
4a2ca8d90a v0.2.1 v0.2.1 2017-12-21 14:29:08 +01:00
homunkulus
72a79e6833 Auto merge of #14 - japaric:debug-eq, r=japaric
impl Debug, PartialEq & Eq

cc @fluffysquirrels
2017-12-21 13:12:49 +00:00
Jorge Aparicio
6d04705a11 ci: cache the ~/.xargo directory 2017-12-21 14:12:23 +01:00
Jorge Aparicio
63a6db3973 ci: use latest nightly to test thumbv6m 2017-12-21 14:03:12 +01:00
Jorge Aparicio
0869d70877 impl Debug, PartialEq & Eq 2017-12-21 13:59:18 +01:00
homunkulus
c644d4cf13 Auto merge of #13 - fluffysquirrels:resize, r=japaric
Add methods Vec::resize() and Vec::resize_default()

Semantics are the same as their equivalents in std::vec::Vec.
2017-12-20 08:59:52 +00:00
Alex Helfet
0917beb92a Add method Vec::resize_default(). 2017-12-19 20:08:40 +00:00
Alex Helfet
4b33946858 Add method Vec::resize(). 2017-12-19 20:03:17 +00:00
Alex Helfet
692bd418f1 Add asserts for Vec::len() in test push_and_pop() (was sanity). 2017-12-19 20:02:25 +00:00
homunkulus
5b91d6821a Auto merge of #11 - japaric:release, r=japaric
v0.2.0

None
v0.2.0
2017-11-22 19:57:06 +00:00
Jorge Aparicio
9d8210761c v0.2.0 2017-11-22 20:56:32 +01:00
homunkulus
cd538447c9 Auto merge of #10 - pftbest:tsan_write_after_read, r=japaric
What if tsan is right?

Is speedup from one less barrier worth the risk in this case?
2017-11-22 18:46:19 +00:00
Vadzim Dambrouski
e5e24f0844 What if tsan is right? 2017-11-09 22:04:17 +03:00
homunkulus
a885d6a47e Auto merge of #9 - japaric:contention, r=japaric
add contention test

This needs to be fixed before the next release

Interestingly I see that the test passes when compiled without optimizations but fails when
optimized. Perhaps there's some UB in here.

cc @pftbest
2017-11-09 15:55:09 +00:00
Jorge Aparicio
ffcd423e67 fix the contention test
patch by @pftbest ❤️
2017-11-09 16:54:30 +01:00
Jorge Aparicio
40994962e2 add contention test 2017-11-09 15:33:54 +01:00
homunkulus
612bf44a78 Auto merge of #8 - japaric:atomic, r=japaric
use atomics where available

cc #5
cc @pftbest
2017-11-09 01:28:45 +00:00
Jorge Aparicio
30ea33c349 relax the lifetime constraint of RingBuffer.split
also

- add a "`split` freezes the ring buffer" compile fail test
- hide compile-fail doc tests
- add scoped threads tests
2017-11-09 02:27:01 +01:00
Jorge Aparicio
731e8ae150 rewrite the test for less unsafety 2017-11-09 02:09:38 +01:00
Jorge Aparicio
5ff961c3ad tsan: deal with the mangled names 2017-11-09 01:37:48 +01:00
Jorge Aparicio
9398aafe61 work around rust-lang/rust#45802 2017-11-09 01:37:30 +01:00
Jorge Aparicio
9faea687d1 load_acquire -> load_relaxed 2017-11-08 23:06:25 +01:00
Jorge Aparicio
9533e27f44 test two consecutive operations 2017-11-08 22:51:55 +01:00