Ralf Jung
9e2107cef5
install ICE hook
2019-09-16 09:31:56 +02:00
Ralf Jung
1ef1d581d3
update for rustc changes
2019-09-15 23:27:58 +02:00
bors
508fdb860b
Auto merge of #951 - spastorino:place-2-0, r=RalfJung
...
Place projection field is now Box<[PlaceElem<'tcx>]>
Closes https://github.com/rust-lang/rust/issues/64441
2019-09-15 11:24:06 +00:00
Santiago Pastorino
5ecb2d9356
Place projection field is now Box<[PlaceElem<'tcx>]>
2019-09-15 00:05:52 -03:00
bors
a34d694f68
Auto merge of #953 - RalfJung:contributing, r=oli-obk
...
add CONTRIBUTING guide
2019-09-14 12:43:39 +00:00
bors
9a146243d0
Auto merge of #949 - RalfJung:ask-to-run, r=RalfJung
...
factor ask-to-run-command into helper function
2019-09-14 11:44:01 +00:00
Ralf Jung
1fb934b6cf
add CONTRIBUTING guide
2019-09-14 13:42:32 +02:00
bors
7847f79383
Auto merge of #952 - RalfJung:rustup, r=RalfJung
...
temporarily enable backtrace feature
This is a temporary hack to work around https://github.com/rust-lang/rust/issues/64410 .
2019-09-14 11:06:44 +00:00
Ralf Jung
78cfdcead2
temporarily enable backtrace feature
2019-09-14 13:06:20 +02:00
bors
b1d35d5ba2
Auto merge of #948 - mati865:patch-1, r=RalfJung
...
Bump byteorder and remove no-op feature
It's automatically detected: 5b3ffeeed2
With this PR `byteorder` can be from [rustc-workspace-hack](f71826e8f2/src/tools/rustc-workspace-hack/Cargo.toml (L74)
).
2019-09-13 08:42:57 +00:00
Ralf Jung
b245cb616e
factor ask-to-run-command into helper function
2019-09-13 10:39:36 +02:00
Christian Poveda
fa20338c9a
Use str::from_utf8 instead
2019-09-12 09:36:31 -05:00
bors
cbe5e6fef5
Auto merge of #947 - RalfJung:rand, r=oli-obk
...
bump rand dependency
2019-09-12 11:48:17 +00:00
Mateusz Mikuła
247ac227ef
Bump byteorder and remove no-op feature
2019-09-12 12:45:00 +02:00
Christian Poveda
ed70617b9c
Add test for u8 align_offset
2019-09-11 12:08:42 -05:00
Ralf Jung
138492c30b
bump rand dependency
2019-09-11 18:33:48 +02:00
Christian Poveda
62280b4b11
Use libcore's align_offset
2019-09-11 11:09:56 -05:00
bors
7278385d80
Auto merge of #946 - RalfJung:rustup, r=oli-obk
...
fix async test
Test got broken by https://github.com/rust-lang/rust/pull/64292 .
2019-09-11 15:24:49 +00:00
Ralf Jung
f5c35a2584
fix async test
2019-09-11 17:13:32 +02:00
bors
dd94c7c5a3
Auto merge of #944 - rust-lang:rustup, r=oli-obk
...
Rustup to 1.39.0-nightly (1e869133b
2019-09-09)
2019-09-09 11:10:42 +00:00
Oliver Scherer
b952584186
Rustup to 1.39.0-nightly ( 1e869133b
2019-09-09)
2019-09-09 13:00:20 +02:00
bors
5b15139bf2
Auto merge of #943 - wesleywiser:turn_on_tests_again, r=RalfJung
...
Re-enable run-pass tests with optimizations enabled
2019-09-09 10:45:45 +00:00
Wesley Wiser
636439c33f
Re-enable run-pass tests with optimizations enabled
2019-09-09 06:32:46 -04:00
bors
7095a3bb68
Auto merge of #942 - rust-lang:rustup, r=oli-obk
...
Rustup
2019-09-08 13:29:49 +00:00
Oliver Scherer
8349ead81d
Update latest working rust version id
2019-09-08 12:28:31 +02:00
Oliver Scherer
e479ab2640
Rustup
2019-09-06 11:10:24 +02:00
bors
a58cb9cf2e
Auto merge of #941 - RalfJung:rustup, r=RalfJung
...
rustup
Just to test if this still works.
2019-09-02 14:14:18 +00:00
Ralf Jung
a37cd856ad
rustup
2019-09-02 16:13:35 +02:00
bors
3a5c44c2d8
Auto merge of #929 - RalfJung:slice-too-big, r=RalfJung
...
test too big slice
Test for an upcoming rustc PR.
2019-08-31 06:45:28 +00:00
Ralf Jung
dfca0263d0
rustup
2019-08-31 08:44:47 +02:00
Ralf Jung
f67af5a1c2
test too big slice
2019-08-31 08:41:55 +02:00
bors
2bf8c3a494
Auto merge of #938 - christianpoveda:clean-env-alloc, r=RalfJung
...
Rewrite alloc_env_var
Just to simplify the logic behind `shims::env`
2019-08-29 22:10:11 +00:00
Christian Poveda
4afa3bccb0
Rewrite alloc_env_var
2019-08-29 15:03:10 -05:00
bors
9fbe719e85
Auto merge of #937 - christianpoveda:fix-isolation, r=RalfJung
...
Fix cargo-miri with disabled isolation
Related issue: https://github.com/rust-lang/miri/issues/933
I'm not sure if that's the better place to blacklist `TERM`, @RalfJung let me know if there is a less hacky place to put it.
2019-08-29 15:46:22 +00:00
bors
0fd757ea09
Auto merge of #919 - RalfJung:wide-raw, r=RalfJung
...
test for invalid wide raw ptr
This is the Miri side of https://github.com/rust-lang/rust/pull/63880 .
2019-08-29 15:20:36 +00:00
Ralf Jung
5483531be3
bump Rust
2019-08-29 17:20:14 +02:00
Ralf Jung
cecbe1611b
test for invalid wide raw ptr
2019-08-29 17:19:09 +02:00
Christian Poveda
814fe99516
Add cargo-miri test for no isolation
2019-08-29 10:13:02 -05:00
Christian Poveda
9c54368cca
Exclude TERM env var by default
2019-08-29 04:07:20 -05:00
bors
ee8afead51
Auto merge of #935 - christianpoveda:blacklist-env-vars, r=RalfJung
...
Exclude environment variables from host communication
related issue: #933
r? @RalfJung
2019-08-29 08:09:57 +00:00
Christian Poveda
abcda6dc94
Small corrections
...
Co-Authored-By: Ralf Jung <post@ralfj.de>
2019-08-29 03:08:58 -05:00
bors
e3b87f6fe8
Auto merge of #931 - RalfJung:retag-makes-my-head-hurt, r=RalfJung
...
Stacked Borrows: don't read from memory during retagging
Currently, retagging of a shared reference tries real hard to find the `UnsafeCell` and mark everything else as frozen. We even read enum discriminants to figure out the variant and determine if there is an `UnsafeCell` in there or not.
Unfortunately, that leads to some very hard to analyze behavior: during retagging, we do read accesses, which are subject to the rules of Stacked Borrows and the existing tags! My head hurts when I try to think about this. It's just too recursive.
This PR simplifies the semantics by treating enums like unions: if any variant has an `UnsafeCell`, the entire thing behaves like an `UnsafeCell`. This means retagging no longer has to read from memory, the way it affects the stack is entirely determined by the type.
2019-08-29 06:40:23 +00:00
Christian Poveda
f4a25e530a
Add env exclusion test
2019-08-28 17:57:41 -05:00
Christian Poveda
c1cec3b247
Exclude env vars using flag
2019-08-28 17:57:41 -05:00
Christian Poveda
1ae1d71938
Add -Zmiri-env-exclude flag
2019-08-28 17:57:35 -05:00
bors
26615807de
Auto merge of #930 - RalfJung:build, r=RalfJung
...
test that build scripts do not run in Miri
@elichai reported something that sounded a lot like build script running in Miri. But as this test shows, build scripts are not run by Miri, they are run normally.
@elichai are you sure the [env var usage you were referring to](https://github.com/rust-lang/miri/issues/641#issuecomment-524989482 ) was only in a build script? Those shouldn't be affected by Miri flags at all. Is your code available somewhere so that I can try to reproduce?
2019-08-28 20:23:39 +00:00
Ralf Jung
f3ff10005a
small optimization
2019-08-28 18:45:10 +02:00
Ralf Jung
79dd70fd9b
Stacked Borrows: don't read from memory during retagging
2019-08-28 18:41:30 +02:00
Ralf Jung
7faa329f11
more implicit
2019-08-28 09:27:19 +02:00
Ralf Jung
71aae4ffa5
test that build scripts do not run in Miri
2019-08-28 09:15:31 +02:00