]>
git.lizzy.rs Git - rust.git/log
Ralf Jung [Thu, 13 Feb 2020 13:01:35 +0000 (14:01 +0100)]
fix for Panic InterpError refactoring
bors [Wed, 12 Feb 2020 21:05:30 +0000 (21:05 +0000)]
Auto merge of #1172 - RalfJung:rustup, r=RalfJung
Rustup
and also a test for https://github.com/rust-lang/rust/issues/68303
Ralf Jung [Wed, 12 Feb 2020 20:50:54 +0000 (21:50 +0100)]
add test for layout optimizations
Ralf Jung [Wed, 12 Feb 2020 20:44:09 +0000 (21:44 +0100)]
rustup
bors [Sat, 8 Feb 2020 13:54:33 +0000 (13:54 +0000)]
Auto merge of #1159 - divergentdave:shim-seek, r=RalfJung
Add shim for seeking files
This adds a shim for `lseek64` (`lseek` on macOS). This enables the use of `<File as Seek>::seek`. Testing is included.
bors [Fri, 7 Feb 2020 13:21:15 +0000 (13:21 +0000)]
Auto merge of #1169 - RalfJung:rustup, r=RalfJung
rustup; fix generator test
Ralf Jung [Fri, 7 Feb 2020 13:19:58 +0000 (14:19 +0100)]
panics dont work on Windows, just the smoke test should be enough
Ralf Jung [Fri, 7 Feb 2020 13:02:36 +0000 (14:02 +0100)]
test more generator resume things
Ralf Jung [Fri, 7 Feb 2020 12:47:39 +0000 (13:47 +0100)]
rustup; fix generator test
David Cook [Thu, 6 Feb 2020 23:50:33 +0000 (17:50 -0600)]
Add tests to cover SEEK_CUR and SEEK_END
bors [Thu, 6 Feb 2020 10:25:32 +0000 (10:25 +0000)]
Auto merge of #1168 - RalfJung:rustup, r=RalfJung
Rustup
Ralf Jung [Thu, 6 Feb 2020 10:24:38 +0000 (11:24 +0100)]
also test div-by-minus-1
Ralf Jung [Thu, 6 Feb 2020 10:20:28 +0000 (11:20 +0100)]
bump rustc; adjust tests
bors [Sun, 2 Feb 2020 13:49:22 +0000 (13:49 +0000)]
Auto merge of #1165 - JohnTitor:uprust, r=RalfJung
Bump rustc
The latest toolstate failure is already fixed (
3d8bf92a11f348d8dd2183873ca60e2e4859e5b9 ), we should only bump rustc and update submodule, I think.
cc: rust-lang/rust#68757
r? @RalfJung
Yuki Okushi [Sun, 2 Feb 2020 09:45:53 +0000 (18:45 +0900)]
Bump rustc
bors [Fri, 31 Jan 2020 11:07:24 +0000 (11:07 +0000)]
Auto merge of #1164 - RalfJung:cargo-install, r=RalfJung
rely on improved cargo install
`cargo install` will now update old versions, and not fail if things are up-to-date.
Ralf Jung [Fri, 31 Jan 2020 10:38:07 +0000 (11:38 +0100)]
rely on improved cargo install
bors [Thu, 30 Jan 2020 22:20:36 +0000 (22:20 +0000)]
Auto merge of #1163 - RalfJung:raw-cast, r=RalfJung
Test raw-ptr-cast without reborrow
With https://github.com/rust-lang/rust/pull/64588 landed, we can finally test these things adequately. :)
bors [Thu, 30 Jan 2020 21:30:32 +0000 (21:30 +0000)]
Auto merge of #1151 - divergentdave:statx-AT_EMPTY_PATH, r=RalfJung
Add support for AT_EMPTY_PATH to statx shim
This enables use of `File::metadata()`.
Ralf Jung [Thu, 30 Jan 2020 12:38:49 +0000 (13:38 +0100)]
pass MPlaceTy by-value, as we usually do
Ralf Jung [Thu, 30 Jan 2020 12:29:55 +0000 (13:29 +0100)]
update another comment
Ralf Jung [Thu, 30 Jan 2020 11:22:54 +0000 (12:22 +0100)]
remove inadequate comment
Ralf Jung [Thu, 30 Jan 2020 11:21:37 +0000 (12:21 +0100)]
new compile-fail test involving non-reborrowing-cast-to-raw
Ralf Jung [Thu, 30 Jan 2020 11:17:02 +0000 (12:17 +0100)]
add test that relies on non-reborrowing-cast-to-raw
David Cook [Thu, 30 Jan 2020 01:04:18 +0000 (19:04 -0600)]
Error with EINVAL on unsupported `whence` argument
bors [Wed, 29 Jan 2020 21:44:06 +0000 (21:44 +0000)]
Auto merge of #1154 - TimDiekmann:rename-alloc, r=RalfJung
Rename `Alloc` to `AllocRef`
Required to land https://github.com/rust-lang/rust/pull/68529. Please see that PR for details. The CI is expected to fail until the PR is landed.
bors [Wed, 29 Jan 2020 21:24:30 +0000 (21:24 +0000)]
Auto merge of #1155 - divergentdave:shim-posix_fadivse, r=RalfJung
Add no-op shim for posix_fadvise
This function is present in the libc crate, but not exposed through the standard library anywhere, so I haven't included a test for it.
David Cook [Wed, 29 Jan 2020 04:59:28 +0000 (22:59 -0600)]
Update comment
Tim Diekmann [Wed, 29 Jan 2020 03:10:40 +0000 (04:10 +0100)]
Bump rust version
Tim Diekmann [Sun, 26 Jan 2020 18:50:26 +0000 (19:50 +0100)]
Rename `Alloc` to `AllocRef`
Required to land https://github.com/rust-lang/rust/pull/68529. Please see that PR for details. The CI is expected to fail until the PR is landed.
David Cook [Wed, 29 Jan 2020 02:39:06 +0000 (20:39 -0600)]
Conditional compilation fix
David Cook [Wed, 29 Jan 2020 01:57:56 +0000 (19:57 -0600)]
Disable posix_fadvise test on macOS, not in libc
David Cook [Wed, 29 Jan 2020 01:43:55 +0000 (19:43 -0600)]
Change function name, comments, and error message
David Cook [Wed, 29 Jan 2020 01:04:16 +0000 (19:04 -0600)]
Try fixing test on i686-unknown-linux-gnu
David Cook [Wed, 29 Jan 2020 00:59:49 +0000 (18:59 -0600)]
Move posix_fadvise test to new libc test file
bors [Tue, 28 Jan 2020 21:57:00 +0000 (21:57 +0000)]
Auto merge of #1162 - RalfJung:track-fn-ptr, r=RalfJung
test track_caller with fn ptrs
Looks like we already use `ReifyShim` the right way, let's just make sure we test that!
Ralf Jung [Tue, 28 Jan 2020 21:55:07 +0000 (22:55 +0100)]
test track_caller with fn ptrs
bors [Tue, 28 Jan 2020 16:25:45 +0000 (16:25 +0000)]
Auto merge of #1148 - yoshuawuyts:patch-1, r=RalfJung
Document miri can only be installed on nightly
This updates the installation instructions to point out that miri is only available on nightly, and encodes this assumption into the installation instructions.
It took me a bit of research to find out *why* miri wasn't installing on `windows-msvc`:
```txt
C:\Users\yoshu> rustup component add miri
error: component 'miri' for target 'x86_64-pc-windows-msvc' is unavailable for download for channel stable
```
I thought it must 've been something with the `msvc` target, but it turned out I was running on `stable`, and miri can only be installed on `nightly`. Having that be clearer in the installation instructions would've saved me some time debugging. Thanks!
David Cook [Mon, 27 Jan 2020 12:28:45 +0000 (06:28 -0600)]
Add test for posix_fadvise
David Cook [Mon, 27 Jan 2020 00:07:31 +0000 (18:07 -0600)]
Apply shim to lseek too (for macOS)
David Cook [Sun, 26 Jan 2020 21:10:01 +0000 (15:10 -0600)]
Add no-op shim for posix_fadvise
David Cook [Sun, 26 Jan 2020 18:36:36 +0000 (12:36 -0600)]
Add shim for lseek64
David Cook [Sun, 26 Jan 2020 17:58:08 +0000 (11:58 -0600)]
Add fstat shim for OSX
bors [Sun, 26 Jan 2020 17:07:13 +0000 (17:07 +0000)]
Auto merge of #1153 - RalfJung:uprust, r=RalfJung
bump rustc
Ralf Jung [Sun, 26 Jan 2020 17:06:13 +0000 (11:06 -0600)]
bump rustc
David Cook [Sun, 26 Jan 2020 04:21:33 +0000 (22:21 -0600)]
Add support for AT_EMPTY_PATH to statx shim
bors [Sat, 25 Jan 2020 20:13:21 +0000 (20:13 +0000)]
Auto merge of #1150 - divergentdave:patch-1, r=RalfJung
Shim intrinsics::atomic_singlethreadfence, etc.
This applies the no-op shim for atomic fences to `atomic_singlethreadfence` and related intrinsics.
David Cook [Sat, 25 Jan 2020 19:48:26 +0000 (13:48 -0600)]
Add compiler fences to test
David Cook [Sat, 25 Jan 2020 01:02:58 +0000 (19:02 -0600)]
Shim intrinsics::atomic_singlethreadfence, etc.
bors [Sun, 19 Jan 2020 16:06:19 +0000 (16:06 +0000)]
Auto merge of #1149 - RalfJung:rustup, r=RalfJung
slice_patterns is stable now
Ralf Jung [Sun, 19 Jan 2020 16:03:18 +0000 (10:03 -0600)]
slice_patterns is stable now
Yoshua Wuyts [Sat, 18 Jan 2020 15:21:30 +0000 (16:21 +0100)]
Document miri can only be installed on nightly
This updates the installation instructions to point out that miri is only available on nightly, and encodes this assumption into the installation instructions.
bors [Wed, 15 Jan 2020 18:36:23 +0000 (18:36 +0000)]
Auto merge of #1146 - RalfJung:rustup, r=RalfJung
Rustup
Ralf Jung [Wed, 15 Jan 2020 18:35:41 +0000 (19:35 +0100)]
rustup more
Ralf Jung [Wed, 15 Jan 2020 18:27:21 +0000 (19:27 +0100)]
rustup
bors [Tue, 14 Jan 2020 08:01:52 +0000 (08:01 +0000)]
Auto merge of #1145 - jethrogb:patch-1, r=oli-obk
Update .gitattributes
See https://github.com/rust-lang/rust/pull/57858
jethrogb [Tue, 14 Jan 2020 04:06:58 +0000 (20:06 -0800)]
Update .gitattributes
See https://github.com/rust-lang/rust/pull/57858
bors [Fri, 10 Jan 2020 17:21:12 +0000 (17:21 +0000)]
Auto merge of #1143 - christianpoveda:symlink-shim, r=RalfJung
Add shim for symbolic link creation
r? @RalfJung
Christian Poveda [Fri, 10 Jan 2020 17:18:24 +0000 (12:18 -0500)]
fix windows symlink creation
Christian Poveda [Fri, 10 Jan 2020 17:01:05 +0000 (12:01 -0500)]
small corrections
bors [Thu, 9 Jan 2020 11:43:26 +0000 (11:43 +0000)]
Auto merge of #1127 - rust-lang:stacked_borrow_tracing, r=RalfJung
Add a scheme for emitting errors without halting interpretation
cc #797
Oliver Scherer [Thu, 9 Jan 2020 11:42:56 +0000 (12:42 +0100)]
Document all the things
Oliver Scherer [Thu, 9 Jan 2020 11:38:58 +0000 (12:38 +0100)]
Remove trailing newline
bors [Thu, 9 Jan 2020 10:42:02 +0000 (10:42 +0000)]
Auto merge of #1144 - RalfJung:panic-location, r=RalfJung
test that unwrap gets us the right panic location
Make sure this stuff works in Miri as well -- basically, an integration test for `track_caller` and the panic machinery (we already have more focused tests as well).
Ralf Jung [Thu, 9 Jan 2020 10:41:08 +0000 (11:41 +0100)]
Unwind panicking does not currently work on Windows
Ralf Jung [Thu, 9 Jan 2020 10:24:41 +0000 (11:24 +0100)]
also make sure the hook actually gets called
Ralf Jung [Thu, 9 Jan 2020 10:20:13 +0000 (11:20 +0100)]
test that unwrap gets us the right panic location
Oliver Scherer [Wed, 8 Jan 2020 12:20:39 +0000 (13:20 +0100)]
Use names that actually represent what's going on
Oliver Scherer [Wed, 8 Jan 2020 12:02:55 +0000 (13:02 +0100)]
Make the non-halting diagnostic scheme independent of `InterpError`
Oliver Scherer [Wed, 8 Jan 2020 11:50:15 +0000 (12:50 +0100)]
Remove debugging hint until we can actuall use `note:`
Oliver Scherer [Wed, 8 Jan 2020 11:49:46 +0000 (12:49 +0100)]
Process delayed errors on every step
Oliver Scherer [Tue, 24 Dec 2019 01:16:43 +0000 (02:16 +0100)]
Tell the user about stacked borrow debugging flags
Oliver Scherer [Tue, 24 Dec 2019 01:04:07 +0000 (02:04 +0100)]
Emit errors without halting interpretation
Oliver Scherer [Mon, 23 Dec 2019 23:22:32 +0000 (00:22 +0100)]
Add a scheme for registering and obtaining errors even without access to an `InterpCx`
Oliver Scherer [Mon, 23 Dec 2019 23:11:40 +0000 (00:11 +0100)]
Move error reporting to its own module
Oliver Scherer [Mon, 23 Dec 2019 23:08:47 +0000 (00:08 +0100)]
Trailing return
Oliver Scherer [Mon, 23 Dec 2019 23:07:55 +0000 (00:07 +0100)]
Split error reporting from main eval function
bors [Tue, 7 Jan 2020 20:19:51 +0000 (20:19 +0000)]
Auto merge of #1140 - RalfJung:no-macos, r=oli-obk
no longer test 32bit macOS
According to https://blog.rust-lang.org/2020/01/03/reducing-support-for-32-bit-apple-targets.html, these are tier 3 targets now, and might not be available on nightly much longer. So let's stop testing them.
Christian Poveda [Tue, 7 Jan 2020 16:29:25 +0000 (11:29 -0500)]
Add lstat shim for macos
Christian Poveda [Tue, 7 Jan 2020 16:09:07 +0000 (11:09 -0500)]
Clean paths for robustness
bors [Tue, 7 Jan 2020 07:52:04 +0000 (07:52 +0000)]
Auto merge of #1142 - JohnTitor:rustup-0107, r=RalfJung
Rustup
r? @RalfJung
Christian Poveda [Mon, 6 Jan 2020 21:30:17 +0000 (16:30 -0500)]
Add shim for symbolic link creation
Yuki Okushi [Mon, 6 Jan 2020 19:53:41 +0000 (04:53 +0900)]
Rustup
bors [Mon, 6 Jan 2020 10:39:24 +0000 (10:39 +0000)]
Auto merge of #1141 - RalfJung:lint-adjust, r=RalfJung
remove no-longer-needed allow(const_err)
Ralf Jung [Mon, 6 Jan 2020 10:38:35 +0000 (11:38 +0100)]
remove no-longer-needed allow(const_err)
Ralf Jung [Mon, 6 Jan 2020 10:02:25 +0000 (11:02 +0100)]
fix testing if a variable exists
Ralf Jung [Mon, 6 Jan 2020 09:43:41 +0000 (10:43 +0100)]
no longer test 32bit macOS
bors [Mon, 6 Jan 2020 09:11:56 +0000 (09:11 +0000)]
Auto merge of #1137 - anp:track-caller-update, r=RalfJung
Update panic machinery to match #[track_caller] changes.
This gets miri's tests passing again with https://github.com/rust-lang/rust/pull/67137, I don't think it will pass CI until that has merged.
Yuki Okushi [Mon, 6 Jan 2020 04:22:24 +0000 (13:22 +0900)]
More rustup
Yuki Okushi [Sun, 5 Jan 2020 08:53:45 +0000 (17:53 +0900)]
Rustup
Adam Perry [Wed, 1 Jan 2020 22:57:10 +0000 (14:57 -0800)]
Update panic machinery to match #[track_caller] changes.
This gets miri's tests passing again with https://github.com/rust-lang/rust/pull/67137.
bors [Thu, 2 Jan 2020 14:58:15 +0000 (14:58 +0000)]
Auto merge of #1139 - RalfJung:fixme, r=RalfJung
note a FIXME
Cc @wesleywiser
Ralf Jung [Thu, 2 Jan 2020 14:57:33 +0000 (15:57 +0100)]
note a FIXME
bors [Thu, 2 Jan 2020 10:53:10 +0000 (10:53 +0000)]
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
Wesley Wiser [Thu, 2 Jan 2020 02:33:51 +0000 (21:33 -0500)]
Bump rustc version to fix miri
bors [Wed, 1 Jan 2020 14:24:09 +0000 (14:24 +0000)]
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
Aaron Hill [Wed, 1 Jan 2020 08:22:06 +0000 (03:22 -0500)]
Rustup
This is mainly to see if CI can reproduce a strange issue I'm running
into locally
bors [Tue, 31 Dec 2019 11:19:26 +0000 (11:19 +0000)]
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
Ralf Jung [Tue, 31 Dec 2019 11:10:52 +0000 (12:10 +0100)]
fix imports
Ralf Jung [Tue, 31 Dec 2019 11:06:42 +0000 (12:06 +0100)]
with FS access, default HashMap should work on macOS