Christian Poveda
50be5a83c5
Remove return argument when fd is not found
2019-10-01 09:28:48 -05:00
Christian Poveda
644467c570
Add methods to handle invalid fides
2019-09-30 15:54:43 -05:00
Christian Poveda
efbe798e62
Avoid buffer allocation to read files
2019-09-30 14:21:45 -05:00
Christian Poveda
775246e329
Add method to consume std::io::Result
2019-09-30 14:08:12 -05:00
Christian Poveda
03ed4123c0
Add FileHandle struct
2019-09-30 11:51:09 -05:00
Christian Poveda
b540e5d24e
Reserve fides for stdio and fix merge issues
2019-09-30 10:54:51 -05:00
bors
07ac10277e
Auto merge of #971 - RalfJung:rustup, r=RalfJung
...
bump rust even more
Internet in this train isn't good enough to test this... so let's see. ;)
2019-09-29 17:15:19 +00:00
Ralf Jung
241b418125
bump rust even more
2019-09-29 12:31:04 -04:00
bors
57cc8ce1d7
Auto merge of #970 - RalfJung:align_offset, r=RalfJung
...
more align_offset tests
Cc @christianpoveda
2019-09-29 16:26:36 +00:00
Ralf Jung
a9c207dce2
fix tests on 32bit
2019-09-29 12:26:13 -04:00
Ralf Jung
b5d449949a
comments and another test
2019-09-29 11:49:04 -04:00
Ralf Jung
9650b7868e
more align_offset tests
2019-09-29 11:43:50 -04:00
bors
ea3eee0544
Auto merge of #969 - RalfJung:rustup, r=RalfJung
...
fix test failure from diagnostics change
@oli-obk looks like with some recent change, the error about the shift now needs `const_err` instead of `exceeding_bitshifts` to be silenced?
2019-09-29 15:31:59 +00:00
Ralf Jung
8ecd767791
fix test failure from diagnostics change
2019-09-29 11:30:28 -04:00
bors
b625812092
Auto merge of #957 - christianpoveda:ptr-align-offset, r=RalfJung
...
Fixes for align_offset
This addresses @RalfJung's comments in https://github.com/rust-lang/miri/pull/945
2019-09-28 18:38:00 +00:00
bors
918a9afe10
Auto merge of #967 - RalfJung:rustup, r=RalfJung
...
cargo update for test-cargo-miri
2019-09-28 16:11:13 +00:00
Ralf Jung
49fa8bfd72
cargo update for test-cargo-miri
2019-09-28 12:10:38 -04:00
bors
ac3e725681
Auto merge of #966 - RalfJung:rustup, r=RalfJung
...
sync AppVeyor CI script with Travis
2019-09-28 15:36:53 +00:00
Ralf Jung
638d989629
sync AppVeyor CI script with Travis
2019-09-28 11:36:20 -04:00
bors
86e498c00c
Auto merge of #965 - RalfJung:rustup, r=RalfJung
...
rustup
2019-09-28 15:00:30 +00:00
Ralf Jung
63ea13ad0d
fix miri-rustc-tests
2019-09-28 11:00:05 -04:00
Ralf Jung
28e814ab53
rustup
2019-09-28 10:37:48 -04:00
bors
af1a19d907
Auto merge of #963 - rust-lang:rustup, r=RalfJung
...
Update to latest nightly
2019-09-28 04:57:33 +00:00
Ralf Jung
c424e06993
make sure we use the stable toolchain, no matter the cache
2019-09-28 00:56:57 -04:00
Ralf Jung
9f6287eb0c
show cargo version
2019-09-27 10:23:26 -04:00
Oliver Scherer
9fdb347ad7
Rustup to sty
-> kind
changes
2019-09-26 11:41:11 +02:00
Oliver Scherer
20b10cc6d3
Update to latest nightly
2019-09-26 09:42:03 +02:00
Christian Poveda
ca3a917a6f
Enable close call for macos
2019-09-25 11:16:11 -05:00
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
e2c54e64d1
Ignore integers
2019-09-22 21:39:17 -05:00
Christian Poveda
f736636038
Throw unsupported error when alignment is not a power of two
2019-09-22 20:56:48 -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