Christian Poveda
41f8cfa30e
Move env shims to its own module
2019-08-14 16:30:55 -05:00
bors
1f504ea7be
Auto merge of #894 - christianpoveda:env-vars-communication, r=RalfJung
...
Enable env communication
related issue: https://github.com/rust-lang/miri/issues/800 . r? @RalfJung
2019-08-14 18:58:06 +00:00
Christian Poveda
451a09a685
Remove tcx parameter for EnvVars::alloc_env_value
2019-08-14 13:54:57 -05:00
Christian Poveda
46f902b67d
Rename export for shims::env::EnvVars
2019-08-14 11:31:29 -05:00
Christian Poveda
f451fe21bd
Test env isolation
2019-08-13 16:17:53 -05:00
Christian Poveda
afc6713e41
Reorganize shims::env::EnvVars
2019-08-13 16:17:41 -05:00
Christian Poveda
67d13577aa
Move test env var to test_runner
2019-08-13 12:10:24 -05:00
Christian Poveda
666cd22fa6
Wrap hashmap for env vars in its own type
2019-08-13 11:34:43 -05:00
bors
47b227e24a
Auto merge of #906 - RalfJung:tls, r=RalfJung
...
make TLS state private to TLS module
2019-08-13 11:32:25 +00:00
Ralf Jung
95fb11d51f
make TLS state private to TLS module
2019-08-13 09:29:01 +02:00
bors
7654ac6128
Auto merge of #904 - RalfJung:rustup, r=RalfJung
...
it's called RUSTC_CTFE_BACKTRACE now
2019-08-12 06:26:46 +00:00
Ralf Jung
7a9733929b
it's called RUSTC_CTFE_BACKTRACE now
2019-08-12 08:26:11 +02:00
bors
a5eb61a4ad
Auto merge of #902 - RalfJung:ldexp, r=RalfJung
...
use apfloat for ldexp
2019-08-10 09:34:31 +00:00
Ralf Jung
04892d9155
typo
2019-08-10 11:33:33 +02:00
Ralf Jung
33eb5657d6
ldexp: test overflow behavior
2019-08-10 11:31:20 +02:00
Ralf Jung
0743ed631e
clamp ldexp exponent to i16
2019-08-10 11:27:27 +02:00
Ralf Jung
3ae01a64bc
also support scalbn itself
2019-08-10 11:22:32 +02:00
bors
7b3de392df
Auto merge of #899 - RalfJung:generators, r=RalfJung
...
More generator tests
Cc @tmandry -- do these look reasonable for checking the new "partial init" case that was discovered?
2019-08-09 20:04:20 +00:00
Ralf Jung
5e3035b6cb
use apfloat for ldexp
2019-08-09 19:54:01 +02:00
bors
b55ae00991
Auto merge of #901 - RalfJung:protected, r=RalfJung
...
test that even &Cell must be dereferencable
Behavior here changed (deliberately) with Stacked Borrows 2; just making sure we notice when/if it ever changes again.
2019-08-09 17:23:17 +00:00
Ralf Jung
b93629262d
test that even &Cell must be dereferencable
2019-08-09 19:22:47 +02:00
bors
c1cb24969e
Auto merge of #900 - RalfJung:miri, r=RalfJung
...
local rustc builds now also need a sysroot built
With the test-miri flag gone, the libstd of local builds isn't good enough for Miri any more.
2019-08-09 11:44:28 +00:00
Ralf Jung
68d7e4ebb0
local rustc builds now also need a sysroot built
...
With the test-miri flag gone, the libstd of local builds isn't good enough for Miri any more.
2019-08-09 11:29:12 +02:00
Ralf Jung
b5ce8f410b
bump Rust version
2019-08-09 11:03:59 +02:00
Ralf Jung
abcd244927
add async fn with partial initialization
2019-08-09 11:01:42 +02:00
Ralf Jung
fc06cb71bf
simplify async-fn tests
2019-08-09 11:01:42 +02:00
Ralf Jung
d5294a5bf3
test generator that yields during initialization of struct with uninhabited field
2019-08-09 11:01:42 +02:00
bors
1766d1b84b
Auto merge of #896 - tmandry:add-generator-uninhabited-test, r=RalfJung
...
Add generator, async tests with uninhabited saved local
See discussion in https://github.com/rust-lang/rust/pull/63035 .
2019-08-09 08:20:00 +00:00
bors
ecd3c9c081
Auto merge of #898 - christianpoveda:master, r=RalfJung
...
Use ldexp from cmath instead
Closes https://github.com/rust-lang/miri/issues/821
r? @RalfJung
2019-08-08 21:10:09 +00:00
Christian Poveda
e1d1cd191f
Use ldexp from cmath instead
2019-08-08 15:45:58 -05:00
bors
b09ae31da0
Auto merge of #871 - RalfJung:miri-rustc-cleanup, r=RalfJung
...
Cleanup after rustc bootstrap tests Miri with a separate libstd
Should only be merged after https://github.com/rust-lang/rust/pull/63162 got the green light.
2019-08-08 20:43:47 +00:00
bors
7143ccc8fa
Auto merge of #897 - RalfJung:xargo, r=RalfJung
...
bump xargo version
Rust bootstrap needs it for the CARGO env var handling.
2019-08-08 17:35:17 +00:00
Ralf Jung
19367fd8de
bump xargo version
2019-08-08 19:34:23 +02:00
Tyler Mandry
f544721de4
Add generator, async tests with uninhabited saved local
2019-08-07 16:56:35 -07:00
Christian Poveda
253af9692a
Fix formatting
2019-08-07 10:50:46 -05:00
Christian Poveda
af623dede2
Add env var test variable in compiletest
2019-08-07 09:09:13 -05:00
bors
b12ebfc3de
Auto merge of #895 - RalfJung:uninit, r=oli-obk
...
Revert "uninit intrinsic is gone"
This reverts commit fa290f1a48
.
Uninit is [being reinstated](https://github.com/rust-lang/rust/pull/63343 ) because it breaks some broken code.
2019-08-07 12:42:19 +00:00
Ralf Jung
455531c564
Revert "uninit intrinsic is gone"
...
This reverts commit fa290f1a48
.
Uninit is being reinstated because it breaks some broken code.
2019-08-07 10:49:36 +02:00
Christian Poveda
b731a6a15f
Add support for env communication
2019-08-06 17:40:07 -05:00
Christian Poveda
0df7a728c6
Update readme
2019-08-06 15:47:57 -05:00
bors
9758d8f44a
Auto merge of #893 - RalfJung:rustup, r=RalfJung
...
mention that we get the toolchain right
Fixes https://github.com/rust-lang/miri/issues/892
Cc @shepmaster
2019-08-06 20:46:22 +00:00
Christian Poveda
068c448832
Add communicate field to evaluator and fix formatting
2019-08-06 15:44:44 -05:00
Christian Poveda
655f9af7fe
Add flag to enable communication
2019-08-06 15:18:22 -05:00
Ralf Jung
3fe4eec37a
mention that we get the toolchain right
2019-08-06 20:52:09 +02:00
bors
da5ecec68b
Auto merge of #891 - RalfJung:rustup, r=RalfJung
...
test-cargo-miri: cargo update
With both https://github.com/rust-random/getrandom/pull/74 and https://github.com/rust-lang/miri/pull/884 having landed, this should work now.
2019-08-06 10:51:59 +00:00
Ralf Jung
c73b13fc58
test-cargo-miri: cargo update
2019-08-06 12:50:22 +02:00
bors
39a524f694
Auto merge of #890 - RalfJung:xargo, r=RalfJung
...
go back to released xargo (the experiment is done)
The experiment in https://github.com/rust-lang/rust/pull/63162 was successful, now we have to wait for a new xargo release.
2019-08-06 06:28:52 +00:00
Ralf Jung
cc8d995605
go back to released xargo (the experiment is done)
2019-08-06 08:05:32 +02:00
bors
a2fb260093
Auto merge of #889 - RalfJung:rustup, r=RalfJung
...
rustup
2019-08-05 13:50:50 +00:00
Ralf Jung
b0cb603e3a
rustup
2019-08-05 15:49:19 +02:00