bors
de4a846027
Auto merge of #979 - nico-abram:patch-1, r=oli-obk
...
Add missing atomic_fence intrinsics as nops
Fixes #972
2019-10-05 15:23:35 +00:00
Nicolas
bd4a2996d1
Add test for atomic fences
2019-10-05 08:20:17 -03:00
Nicolas
0c4003631d
Add missing atomic_fence intrinsics as nops
...
Fixes #972
2019-10-05 06:12:37 -03:00
bors
b0de1e9b95
Auto merge of #973 - christianpoveda:write-shim, r=oli-obk
...
Enable file writing
r? @oli-obk
2019-10-02 14:16:43 +00:00
Christian Poveda
6c36a8c949
Return earlier when reading/writing 0 bytes
2019-10-02 09:12:03 -05:00
Christian Poveda
f5022b19d3
Fix dangling pointer bug for zero-sized reads
2019-10-02 08:43:23 -05:00
Christian Poveda
78e0d309ef
Avoid early return after handles are removed
2019-10-01 14:07:45 -05:00
Christian Poveda
5a05c04c85
Correct name of each shim when erroring
2019-10-01 11:14:50 -05:00
Christian Poveda
cd495cb04f
Add file writing capabilities
2019-10-01 11:10:37 -05:00
bors
1037f69bf6
Auto merge of #962 - christianpoveda:file-shim, r=oli-obk
...
Add shims for file handling
This adds the bare minimum to be able to do `File::open` and `File::read`. I also need some feedback about how to handle certain things
2019-10-01 15:33:09 +00:00
Christian Poveda
d0509d719c
Add docs for helper functions
2019-10-01 10:31:04 -05:00
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