Yuki Okushi
ebacb8ae4e
Rustup
2020-01-05 15:55:15 -08:00
Adam Perry
0a3f460d69
Update panic machinery to match #[track_caller] changes.
...
This gets miri's tests passing again with https://github.com/rust-lang/rust/pull/67137 .
2020-01-04 16:28:32 -08:00
bors
f3c267d07c
Auto merge of #1139 - RalfJung:fixme, r=RalfJung
...
note a FIXME
Cc @wesleywiser
2020-01-02 14:58:15 +00:00
Ralf Jung
c68996dda7
note a FIXME
2020-01-02 15:57:33 +01:00
bors
4da2b2149c
Auto merge of #1138 - wesleywiser:fix_miri_after_cast_truncation_checking, r=oli-obk
...
Bump rustc version to fix miri
Fixes rust-lang/rust#67793
2020-01-02 10:53:10 +00:00
Wesley Wiser
959033cbfb
Bump rustc version to fix miri
2020-01-01 21:33:51 -05:00
bors
67ef0b131e
Auto merge of #1135 - Aaron1011:rustup-plain, r=RalfJung
...
Rustup
This is mainly to see if CI can reproduce a strange issue I'm running
into locally
2020-01-01 14:24:09 +00:00
Aaron Hill
84a43fcb6f
Rustup
...
This is mainly to see if CI can reproduce a strange issue I'm running
into locally
2020-01-01 03:25:44 -05:00
bors
86d7db4684
Auto merge of #1134 - RalfJung:macos-hashmap, r=RalfJung
...
test macOS hashmap
With https://github.com/rust-lang/miri/pull/1130 landed, this should work now. Thanks @christianpoveda!
Fixes https://github.com/rust-lang/miri/issues/686
2019-12-31 11:19:26 +00:00
Ralf Jung
31fbb5a9b2
fix imports
2019-12-31 12:10:52 +01:00
Ralf Jung
e1fceafcea
with FS access, default HashMap should work on macOS
2019-12-31 12:06:42 +01:00
bors
39146c44bd
Auto merge of #1130 - christianpoveda:ignore-close-read-only, r=RalfJung
...
Ignore close errors in read-only files.
this fixes https://github.com/rust-lang/miri/issues/999
r? @RalfJung
2019-12-31 11:00:08 +00:00
Christian Poveda
a40a99d849
avoid double negation
2019-12-30 17:26:17 -05:00
bors
9f79aa9bb4
Auto merge of #1131 - JOE1994:alloc_os_str_as_c_str, r=RalfJung
...
Add helper 'alloc_os_str_as_c_str' and use it in env_var emulation
First part of the plan laid out in #707 (comment).
Re-submitting a pull-request for work from #1098 (manual rebasing..)
r? @RalfJung
2019-12-30 19:15:53 +00:00
Christian Poveda
ce4e1f9fe7
add comments
2019-12-29 22:51:48 -05:00
bors
3fe92f8737
Auto merge of #1133 - RalfJung:compile-fail-opt, r=RalfJung
...
compile-fail tests work with optimizations now
2019-12-29 11:39:31 +00:00
Ralf Jung
e952e37a39
compile-fail tests work with optimizations now
2019-12-29 12:38:40 +01:00
bors
16f5d20ab0
Auto merge of #1132 - christianpoveda:use_scalar_to_u16, r=RalfJung
...
Use Scalar::to_u16
https://github.com/rust-lang/rust/pull/67604#issuecomment-569413675 r? @RalfJung
2019-12-28 14:14:43 +00:00
Christian Poveda
c60ab94d20
bump rustc version
2019-12-28 09:09:42 -05:00
Christian Poveda
b7e6135d7b
Use Scalar::to_u16
2019-12-28 08:38:31 -05:00
JOE1994
a4bd68a45f
Add helper 'alloc_os_str_as_c_str' and use it in env_var emulation
2019-12-27 20:32:20 -05:00
bors
34d8ec896d
Auto merge of #1114 - rust-lang:to_ptr_considered_harmful, r=oli-obk
...
Remove all uses of `to_ptr`
Also only works on top of https://github.com/rust-lang/rust/pull/67192
2019-12-27 13:50:31 +00:00
Christian Poveda
f00fd3990b
avoid excluding TERM env var
2019-12-27 08:37:52 -05:00
Christian Poveda
dc4b8ac2e6
close file silently if the file is read only
2019-12-27 08:34:35 -05:00
Oliver Scherer
4aef81eb85
Remove to_ptr
uses
2019-12-27 14:26:05 +01:00
bors
0f1dec05dd
Auto merge of #1129 - christianpoveda:stat64-shim, r=RalfJung
...
add stat shim for macos
Here we go. I'm apologizing in advice for the constant torture that Travis will suffer.
2019-12-27 08:41:03 +00:00
Christian Poveda
c8190e8de7
rename metadata struct
2019-12-26 19:31:59 -05:00
Christian Poveda
2151e958ce
minor fixes and updated docs
2019-12-26 12:12:27 -05:00
Christian Poveda
bbbb50a09a
set mask for statx correctly
2019-12-25 22:24:18 -05:00
Christian Poveda
1bc3629084
do padding correctly
2019-12-25 18:22:33 -05:00
Christian Poveda
d176259002
deduplicate shared code between stat and statx
2019-12-25 18:17:20 -05:00
Christian Poveda
515c119359
Add padding on 64-bits only
2019-12-25 13:10:50 -05:00
Christian Poveda
6d88a4704a
restrict stat
shim to macos only
2019-12-25 12:38:35 -05:00
Christian Poveda
75f7a118e6
remove restrictions due to stat
unavailability
2019-12-25 12:38:34 -05:00
Christian Poveda
dbc118919a
add padding to immediates
2019-12-25 11:08:27 -05:00
Christian Poveda
0184e10f2f
fix size for file mode
2019-12-25 08:27:50 -05:00
Christian Poveda
b2c4ff2aee
add remanining fields to stat stuct
2019-12-25 08:27:50 -05:00
Christian Poveda
6177e6df7e
provide correct name for shim
2019-12-25 08:27:50 -05:00
Christian Poveda
d9ecd77ada
add dummy stat shim
2019-12-25 08:27:49 -05:00
bors
aafb7c931d
Auto merge of #1128 - RalfJung:cleanup, r=RalfJung
...
use new try_from methods
and a bit of other cleanup
2019-12-24 10:48:05 +00:00
Ralf Jung
cd12f47af6
make bytes conversion functions private inside read/write functions
2019-12-24 11:46:02 +01:00
Ralf Jung
2db6a3c04d
use new try_from methods
2019-12-24 11:43:42 +01:00
bors
b1e97df8ee
Auto merge of #1121 - rust-lang:rustup, r=RalfJung
...
Rustup to rustc 1.42.0-nightly (005cf38f7
2019-12-22)
2019-12-23 22:03:15 +00:00
Oliver Scherer
bac261573f
Rustup to rustc 1.42.0-nightly ( 005cf38f7
2019-12-22)
2019-12-23 23:02:36 +01:00
bors
02bba3f531
Auto merge of #1124 - RalfJung:sysroot-check, r=oli-obk
...
disable sysroot checks for distributed binaries
This should help with https://github.com/mozilla/nixpkgs-mozilla/issues/198 .
2019-12-23 17:14:48 +00:00
bors
2a08c63631
Auto merge of #1125 - RalfJung:main-result, r=oli-obk
...
support main functions with Result return type
Turns out we already properly create the substitution to call the libstd start-fn with an appropriate `main`, we just had an overzealous check in the way.
Fixes https://github.com/rust-lang/miri/issues/1116 .
2019-12-23 16:51:55 +00:00
Ralf Jung
e325ad24f2
support main functions with Result return type
2019-12-23 17:45:23 +01:00
bors
20e843f202
Auto merge of #1118 - rust-lang:stacked_borrow_tracing, r=oli-obk
...
Run rustfmt
This is `cargo +nightly fmt --all` with `rustc 1.41.0-nightly (c8ea4ace9
2019-12-14)`
2019-12-23 11:56:51 +00:00
Oliver Scherer
7ead530841
Rustfmt all the things
2019-12-23 12:56:23 +01:00
Ralf Jung
bc715cb646
disable sysroot checks for distributed binaries
2019-12-22 18:13:13 +01:00