Commit Graph

3201 Commits

Author SHA1 Message Date
Christian Poveda
bdaa90ceb2 Add FIXME to file reading test 2019-09-25 11:12:46 -05:00
Christian Poveda
01f64616ad Check that the only flag change is done to enable FD_CLOEXEC 2019-09-25 11:11:20 -05:00
Christian Poveda
3726081857 Add helper function to fetch libc constants 2019-09-25 10:49:12 -05:00
Christian Poveda
79b1f91f45 First version of file handling 2019-09-25 01:17:18 -05:00
bors
402129c01e Auto merge of #960 - christianpoveda:chdir-shim, r=oli-obk
Add `chdir` shim

r? @oli-obk
2019-09-24 22:39:55 +00:00
Christian Poveda
145a5826d5 Check that chdir fails for non-utf8 paths 2019-09-24 17:28:38 -05:00
Christian Poveda
0eed5e64de Add chdir shim 2019-09-24 15:50:00 -05:00
bors
2e17933eed Auto merge of #958 - christianpoveda:getcwd-shim, r=oli-obk
Add getcwd shim
2019-09-24 16:22:21 +00:00
Christian Poveda
02261e4be2 Fix comments 2019-09-24 09:29:16 -05:00
Christian Poveda
0f58289b3d fetch ERANGE value from libc 2019-09-20 11:32:07 -05:00
Christian Poveda
c0a6b5ff69 Set errno when getcwd fails 2019-09-20 03:30:55 -05:00
Christian Poveda
49275d4269 Avoid writing more bytes than necessary 2019-09-20 02:13:48 -05:00
bors
0c77a1025b Auto merge of #903 - RalfJung:discriminant, r=RalfJung
fix discriminant handling

The Miri side of https://github.com/rust-lang/rust/pull/63448
2019-09-20 06:56:18 +00:00
Ralf Jung
a86ca24526 bump Rust 2019-09-20 08:55:12 +02:00
Ralf Jung
0ab0e40e1b add another test case 2019-09-20 08:53:35 +02:00
Ralf Jung
d53d7f77a0 err on all-but-B, not just on C 2019-09-20 08:53:35 +02:00
Ralf Jung
7e65c44714 test for niche enum discriminant computation that overflows 2019-09-20 08:53:35 +02:00
Christian Poveda
133c2b39db Only use getcwd without isolation 2019-09-19 10:32:18 -05:00
Christian Poveda
6593563e46 Check that getcwd does not error 2019-09-18 20:01:09 -05:00
Christian Poveda
5cf90bc786 Add getcwd shim 2019-09-18 16:13:59 -05:00
bors
d83bcbd339 Auto merge of #956 - rust-lang:rustup-retag, r=RalfJung
rustup for retag rename

This is the Miri side of https://github.com/rust-lang/rust/pull/64503. Do not force-push!
2019-09-18 09:22:58 +00:00
Ralf Jung
d610d9de90 bump Rust version 2019-09-18 11:22:28 +02:00
Ralf Jung
39e2a76817 Merge remote-tracking branch 'origin/master' into rustup-retag 2019-09-18 11:22:12 +02:00
Ralf Jung
130f9488d3 rustup 2019-09-17 12:31:02 +02:00
bors
44ca0f6a35 Auto merge of #955 - RalfJung:rustup, r=RalfJung
remove libstd backtrace work-around
2019-09-16 20:26:13 +00:00
Ralf Jung
8cd215dc97 remove libstd backtrace work-around 2019-09-16 22:22:54 +02:00
bors
d0a10507e4 Auto merge of #945 - christianpoveda:ptr-align-offset, r=oli-obk
Use libcore's align_offset

Related issue: https://github.com/rust-lang/miri/issues/873
2019-09-16 15:52:22 +00:00
Christian Poveda
55863cb88e Use force_ptr instead of assert_ptr 2019-09-16 10:16:06 -05:00
bors
d881387237 Auto merge of #954 - RalfJung:rustup, r=RalfJung
update for rustc changes

https://github.com/rust-lang/rust/pull/60584 changed some stuff around ICEs. What I am not sure about is whether we should call `install_ice_hook` or not. @jonas-schievink @oli-obk any advice?
2019-09-16 07:32:21 +00:00
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