Commit Graph

3615 Commits

Author SHA1 Message Date
Ralf Jung
354de02c24 rustup; fix debugging 2019-10-23 16:33:54 +02:00
Christian Poveda
de12cbcb32 Fix documentation 2019-10-23 08:58:25 -05:00
bors
09e7429a8a Auto merge of #1017 - RalfJung:test, r=RalfJung
cargo update cargo-miri-test
2019-10-23 08:58:22 +00:00
Ralf Jung
505b02fc99 cargo update cargo-miri-test 2019-10-23 10:32:08 +02:00
bors
d9b9da1d84 Auto merge of #1016 - RalfJung:rustup, r=RalfJung
Rustup
2019-10-23 08:31:50 +00:00
Ralf Jung
6fb5e124d9 use compiletest_rs for stable compiler as nightly is broken 2019-10-23 10:31:08 +02:00
Ralf Jung
47eb8549ee rustup + cargo update 2019-10-23 10:25:22 +02:00
Christian Poveda
fb4cb5bf4a Make size error distinguishable from other errors 2019-10-22 16:57:07 -05:00
Christian Poveda
be415dbeda Use new write_bytes method 2019-10-22 11:44:49 -05:00
bors
8fa7454297 Auto merge of #1015 - RalfJung:appv, r=RalfJung
AppVeyor: abort early if a job fails
2019-10-22 11:41:14 +00:00
Ralf Jung
0ad37dd876 AppVeyor: abort early if a job fails 2019-10-22 13:11:16 +02:00
bors
5e7242e5f0 Auto merge of #1014 - RalfJung:rustup, r=RalfJung
rustup: fix for write_bytes and new union rules
2019-10-22 11:08:32 +00:00
Ralf Jung
db949af8ed fix field index 2019-10-22 10:43:16 +02:00
Ralf Jung
2690f5948a rustup: fix for write_bytes and new union rules 2019-10-22 10:13:11 +02:00
Christian Poveda
72bd25de83 Fix merge conflicts 2019-10-21 08:49:49 -05:00
bors
1a42107663 Auto merge of #1012 - RalfJung:rustup, r=RalfJung
bump Rust (no changes needed)

Just bumping it to the latest nightly.
2019-10-21 11:50:08 +00:00
Ralf Jung
789eeee6a5 bump Rust (no changes needed) 2019-10-21 13:31:38 +02:00
bors
9d5363847e Auto merge of #1011 - RalfJung:full-stop, r=RalfJung
add some missing trailing full stops that slipped through review
2019-10-21 11:25:34 +00:00
Ralf Jung
d9aa20fb31 add some missing trailing full stops that slipped through review 2019-10-21 13:24:56 +02:00
bors
af3923bebc Auto merge of #991 - christianpoveda:errno-place, r=RalfJung
Change the last OS error location to a place

r? @RalfJung
2019-10-21 09:15:51 +00:00
bors
f912a8b054 Auto merge of #1010 - RalfJung:xargo, r=RalfJung
when xargo is manually specified, don't try to upgrade it
2019-10-21 08:45:54 +00:00
Ralf Jung
ebdb6d4df7 when xargo is manually specified, don't try to upgrade it 2019-10-21 10:25:47 +02:00
Christian Poveda
283a130dda Add docs for the new helper functions 2019-10-20 17:40:21 -05:00
Christian Poveda
9d50c5e758 Small corrections to docs 2019-10-20 07:55:26 -05:00
Christian Poveda
8a8fa53a5d Transform the last error place to an immediate instead 2019-10-20 07:55:26 -05:00
Christian Poveda
619ccf3834 Rename set_last_error_from_io_result 2019-10-20 07:55:25 -05:00
Christian Poveda
5c3c738c4b Make transformation to OS error explicit 2019-10-20 07:53:56 -05:00
Christian Poveda
338e51aa48 Rename consume_result 2019-10-20 07:53:55 -05:00
Christian Poveda
ed776f67ba Change last_error to a place 2019-10-20 07:42:59 -05:00
Christian Poveda
4232939319 Move last error functions to helpers 2019-10-20 07:42:59 -05:00
bors
cfd95998d7 Auto merge of #1009 - RalfJung:expect_none, r=RalfJung
use expect_none and unwrap_none where it makes sense
2019-10-20 10:21:28 +00:00
Ralf Jung
88c88530ec use expect_none and unwrap_none where it makes sense 2019-10-20 12:20:48 +02:00
Christian Poveda
f7c6e0efbe Do additional bounds checks 2019-10-19 15:49:00 -05:00
Christian Poveda
ab059671cb Change comparison order for clarity 2019-10-19 14:13:49 -05:00
bors
fccb239824 Auto merge of #1008 - RalfJung:sysroot, r=RalfJung
print sysroot without any escaping
2019-10-19 14:39:16 +00:00
Ralf Jung
324fed316f print sysroot without any escaping 2019-10-19 16:38:37 +02:00
bors
cb932f464c Auto merge of #1006 - RalfJung:bounds, r=RalfJung
audit our bounds checks

This simplifies some bounds checks and adds comments.
2019-10-19 10:40:08 +00:00
Ralf Jung
e574c77aa2 audit our bounds checks 2019-10-19 12:39:02 +02:00
Christian Poveda
0201cc5587 Fix writing errors 2019-10-18 15:28:06 -05:00
Christian Poveda
85941c7249 Rename write/read os string functions 2019-10-18 09:49:56 -05:00
Christian Poveda
68fec4b3fe Use conditional compilation properly and work with OsStrs instead 2019-10-18 09:49:56 -05:00
Christian Poveda
1241abbec4 Change helper functions to read/write 2019-10-18 09:49:55 -05:00
Christian Poveda
61da8b8428 Add OsString from/to bytes helper functions 2019-10-18 09:47:19 -05:00
bors
ad6af7a523 Auto merge of #1005 - RalfJung:cleanup, r=RalfJung
cleanup now that borrow checker knows memory is a field

@christianpoveda you said, I think, that `fs.rs` could also be cleaned up to longer remove-and-then-add file descriptors from the table? Could you make a PR for that?
2019-10-18 14:02:29 +00:00
Ralf Jung
5481afbaf6 cleanup now that borrow checker knows memory is a field 2019-10-18 11:33:12 +02:00
bors
fbc1d91f79 Auto merge of #1004 - JohnTitor:use-memory, r=RalfJung
Use memory field instead of memory()

Rustup for rust-lang/rust#65319
2019-10-18 08:10:29 +00:00
Yuki Okushi
17449fbce6 rustup 2019-10-18 11:21:20 +09:00
Yuki Okushi
a353e90eed Use memory field instead of memory() 2019-10-18 11:11:50 +09:00
bors
089c7e8259 Auto merge of #1002 - RalfJung:workspace, r=RalfJung
better error when using cargo-miri in a workspace
2019-10-16 20:04:58 +00:00
Ralf Jung
2967d0d13a better error when using cargo-miri in a workspace 2019-10-16 22:03:44 +02:00