- 29 7月, 2022 1 次提交
-
-
由 bors 提交于
Use real exec on cfg(unix) targets Closes https://github.com/rust-lang/miri/issues/2421 The standard library has a platform extension trait that lets us get the behavior we want on cfg(unix), so why not use it? I tried this out and it produces the correct behavior in concert with nextest.
-
- 27 7月, 2022 4 次提交
-
-
由 Ben Kimock 提交于
When cargo-miri is executed as a cargo test runner or rustdoc runtool, external tools expect what they launch as the runner/runtool to be the process actually running the test. But in the implementation, we launch the Miri interpreter as a subprocess using std::process::Command. This tends to confuse other tools (like nextest) and users (like the author). What we really want is to call POSIX exec so that the cargo-miri process becomes the interpreter. So this implements just that; we call execve via a cfg(unix) extension trait. Windows has no such mechanism, but it also doesn't have POSIX signals, which is the primary tripping hazard this change fixes.
-
由 bors 提交于
rustup
-
由 Ralf Jung 提交于
-
由 bors 提交于
Add default impls for `FileDescriptor` methods I felt like it was just noisy to have to write the "can't do this here" defaults
-
- 26 7月, 2022 3 次提交
-
-
由 bors 提交于
add test for dyn call issue Tests for https://github.com/rust-lang/miri/issues/2432
-
由 Ralf Jung 提交于
-
由 Oli Scherer 提交于
-
- 25 7月, 2022 13 次提交
-
-
由 bors 提交于
adjust for more backtrace pruning The Miri side of https://github.com/rust-lang/rust/pull/99690. Those messages are much nicer. :) And we also need error-pattern much less.
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
由 bors 提交于
enable clippy lints against integer casts Cc https://github.com/rust-lang/miri/issues/1236
-
由 bors 提交于
fix build.rs invoking RUSTC to do check builds This makes the Miri driver, when invokved via the RUSTC env var from inside a build script, behave almost entirely like rustc. I had to redo how we propagate sysroot information for this (which is actually back to how we used to do sysroot propagation many years ago). Fixes https://github.com/rust-lang/miri/issues/2431
-
由 bors 提交于
ui_test: build dependencies in locked mode unless bless is enabled This should help ensure that tests are reproducible.
-
由 bors 提交于
rustup
-
由 Ralf Jung 提交于
-
由 bors 提交于
more tests for ptr_offset_from_unsinged
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
this requires a change in sysroot handling: miri driver now requires MIRI_SYSROOT to be set when it is in 'target' mode, rather than relying on `--sysroot` always being present.
-
- 24 7月, 2022 17 次提交
-
-
由 bors 提交于
Rustup
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
由 bors 提交于
attempt to overwrite globally set build.rustc-wrapper Hopefully fixes https://github.com/rust-lang/miri/issues/2429
-
由 Ralf Jung 提交于
-
由 bors 提交于
cargo-miri: use '--config target.runner' rather than the TARGET_RUNNER env vars That means we can properly escape spaces in our filename. This should fix https://github.com/rust-lang/miri/issues/2417, hopefully for real this time. We can also specify a "leading command" which makes it much easier to disambiguate runner invocations from rustdoc invocations! Thanks to `@ehuss` for suggesting this.
-
由 Ralf Jung 提交于
-
由 bors 提交于
Fix outdated docs in sb stack cache Since `Item` is bitpacked now, the full `Item` is stored in the cache.
-
由 Nilstrieb 提交于
Since `Item` is bitpacked now, the full `Item` is stored in the cache.
-
由 Ralf Jung 提交于
also clean up sysroot building printing logic a bit
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
由 bors 提交于
don't dump xargo output onto users of 'cargo miri test' The xargo invocation prints a lot of details users probably won't care about, so let's hide them (unless the user did `cargo miri setup`, then we still print everything).
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
由 Ralf Jung 提交于
-
- 23 7月, 2022 2 次提交
-
-
由 bors 提交于
add a flag to print a diagnostic when an outdated value is returned from an atomic load Helps with https://github.com/rust-lang/miri/issues/2313. It can still be annoying to figure out *which* outdated load is the important one in case there are many of them (and the issue contains some ideas for how to help with that situation), but having this flag is better than nothing. Thanks to `@cbeuw` for the [original patch](https://github.com/cbeuw/miri/commit/64d738cb00dbcfbe9cab29c77717f5af62c83ada) that I based this on.
-
由 Ralf Jung 提交于
-