Ralf Jung
|
b3f7991367
|
btree is fixed
|
2018-12-18 18:41:52 +01:00 |
|
Oliver Scherer
|
77ef84e1e8
|
Adjust tests for funciton pointer changes
|
2018-12-17 10:12:04 +01:00 |
|
Ralf Jung
|
b0581caeef
|
VecDeque got fixed
|
2018-12-13 22:05:46 +01:00 |
|
Ralf Jung
|
8bd1f78563
|
fix libc feature gate
|
2018-12-13 20:25:24 +01:00 |
|
Ralf Jung
|
f044205b5f
|
the test suite assumes a libstd with full MIR; run test suite on xargo-built foreign libstds
|
2018-12-10 10:04:55 +01:00 |
|
Ralf Jung
|
228663248c
|
Merge remote-tracking branch 'origin/master' into rustup
|
2018-12-08 10:33:14 +01:00 |
|
Ralf Jung
|
d5d1b1e4f3
|
add FIXME test for coercing &mut to *const
|
2018-12-07 18:01:59 +01:00 |
|
Ralf Jung
|
1a41ce6319
|
Merge remote-tracking branch 'origin/master' into stacked-borrows-2-phase
|
2018-12-07 09:03:15 +01:00 |
|
Ralf Jung
|
61f20761d3
|
Merge branch 'master' into stacked-borrows-2-phase
|
2018-12-03 11:11:32 +01:00 |
|
Ralf Jung
|
0cb3bf7912
|
Merge branch 'master' into fixme
|
2018-12-03 10:52:59 +01:00 |
|
Ralf Jung
|
b6e5822601
|
add FIXME
|
2018-12-03 10:28:32 +01:00 |
|
Ralf Jung
|
0e44876a2d
|
fix mutability gap: do not allow shared mutation when creating frozen reference
|
2018-12-03 09:15:18 +01:00 |
|
Ralf Jung
|
479eb3bd2b
|
support for basic (non-overlapping) 2-phase borrows
|
2018-12-02 13:30:09 +01:00 |
|
Ralf Jung
|
36a2b89522
|
remove a whole lot of unnecessary attributes
|
2018-12-02 11:26:09 +01:00 |
|
Ralf Jung
|
429d84f068
|
remove/fix outdated FIXMEs in tests
|
2018-12-02 11:14:24 +01:00 |
|
Ralf Jung
|
7d623f73cc
|
do not use 'let _', it is strange
|
2018-11-26 15:31:53 +01:00 |
|
Ralf Jung
|
1edba2337b
|
Merge branch 'master' into self-referential-generator
|
2018-11-26 09:47:22 +01:00 |
|
Ralf Jung
|
04794c4c2a
|
test that we support partial invalidation of mutable references
|
2018-11-21 16:08:46 +01:00 |
|
Ralf Jung
|
8d6472a76c
|
test self-referential generator
|
2018-11-20 15:07:09 +01:00 |
|
Ralf Jung
|
22f11b8eec
|
make tests compatible with 2018 edition
|
2018-11-20 14:15:14 +01:00 |
|
Ralf Jung
|
1ae536b03e
|
use 2018 edition for tests
|
2018-11-20 12:41:34 +01:00 |
|
Ralf Jung
|
a87e952102
|
Separate deref and access into different operations; add special exception for creating raw references
|
2018-11-15 09:35:40 +01:00 |
|
Ralf Jung
|
224d03dbdc
|
organize std tests a bit better
|
2018-11-15 09:35:40 +01:00 |
|
Ralf Jung
|
a94e197105
|
better test the special exception for reading through unique when things are shared
|
2018-11-15 09:35:40 +01:00 |
|
Ralf Jung
|
aa8f523df6
|
test for special things that are now possible
|
2018-11-15 09:35:40 +01:00 |
|
Ralf Jung
|
09919c2b59
|
Retag is the only operation that generates new tags
|
2018-11-15 09:35:40 +01:00 |
|
Ralf Jung
|
f233dc0687
|
Rc should be fixed
|
2018-11-11 10:12:44 +01:00 |
|
Ralf Jung
|
74635a57e2
|
re-do large parts of stacked borrows, now with proper support for partiall frozen data
|
2018-11-08 08:29:34 +01:00 |
|
Ralf Jung
|
a05ba90300
|
disable Rc test for now, it ain't working
|
2018-11-07 14:24:11 +01:00 |
|
Ralf Jung
|
3302656247
|
More extensive slice and vec tests
Not all of them pass validation...
|
2018-11-01 08:58:03 +01:00 |
|
Ralf Jung
|
430e047a6f
|
start collecting some things ALLOWED by stacked borrows in a run-pass test
|
2018-11-01 08:58:03 +01:00 |
|
Ralf Jung
|
7ac0e79ad5
|
stub Retag hook; fix tests for removal of -Zmir-emit-validate
|
2018-11-01 08:58:03 +01:00 |
|
Ralf Jung
|
8cd73e534f
|
use as(_mut)_ptr on slices to entirely escape them to raw
|
2018-10-22 18:51:06 +02:00 |
|
Ralf Jung
|
44b3c38b44
|
make sure raw ptrs only have to be valid as far as they are used
|
2018-10-22 18:34:48 +02:00 |
|
Ralf Jung
|
26bb4f79dc
|
get rid of implicit Raw at bottom of stack; locals get a uniq at their bottom
|
2018-10-22 18:17:37 +02:00 |
|
Ralf Jung
|
fdb3022a11
|
env vars are only available with full MIR
|
2018-10-22 08:41:48 +02:00 |
|
Ralf Jung
|
bbb1d80703
|
disable env var test on macOS, win
|
2018-10-21 01:31:46 +02:00 |
|
Ralf Jung
|
d4b78b36ab
|
stacked borrows: enforcement at memory accesses
|
2018-10-17 15:15:53 +02:00 |
|
Ralf Jung
|
348f782085
|
add env var emulation test, and fix it complaining about leaks
|
2018-10-16 18:35:27 +02:00 |
|
Ralf Jung
|
62b819ba18
|
whitelist std::ptr::read
|
2018-10-12 10:40:44 +02:00 |
|
Ralf Jung
|
e4dfb7013b
|
enable validation per default, but add a flag to disable it and use that for some run-pass tests
compile-fail does not do validation yet
|
2018-10-11 11:24:22 +02:00 |
|
Ralf Jung
|
a090edbc03
|
explain a test
|
2018-10-11 08:59:39 +02:00 |
|
Ralf Jung
|
f18cb40e4c
|
test mutating a non-mut static with interior mutability
|
2018-09-23 09:14:55 +02:00 |
|
Ralf Jung
|
a85b78d30c
|
test for interestingly aligned field access
|
2018-09-22 08:45:24 +02:00 |
|
Ralf Jung
|
18d7394071
|
more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them.
At least these are the cases I can think of right now.
|
2018-09-17 10:02:31 +02:00 |
|
Ralf Jung
|
cd138bcd0b
|
test more operations on dangling ZST pointers
|
2018-09-17 10:02:31 +02:00 |
|
Ralf Jung
|
1697b93ed9
|
Merge branch 'master' into rustup
|
2018-09-01 10:35:19 +02:00 |
|
Ralf Jung
|
f56841d974
|
unignore a bunch of tests that actually work
|
2018-08-30 15:57:17 +02:00 |
|
Ralf Jung
|
e239fcffc1
|
new tests for new fn arg passing code
|
2018-08-30 10:42:18 +02:00 |
|
Ralf Jung
|
904923fa7a
|
move some more helpers to rustc
|
2018-08-30 10:42:18 +02:00 |
|