Skip to content

Rollup of 11 pull requests #124025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 52 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
b75e6b4
fetch submodule before checking llvm stamp
onur-ozkan Mar 17, 2024
6b846cc
create new build step `clippy`
onur-ozkan Mar 22, 2024
c58f2d2
create `Builder::msg_clippy`
onur-ozkan Mar 22, 2024
bfd79f5
support different `Kind`s in `Builder::msg_tool`
onur-ozkan Mar 22, 2024
ba7d37f
for clippy, skip output handling in `run_cargo`
onur-ozkan Mar 22, 2024
0aceed7
add simple top-level doc-comment for build_steps/clippy
onur-ozkan Mar 22, 2024
d7c9f71
fix sysroot bug and update step message format
onur-ozkan Mar 22, 2024
006354c
update `mingw-check` clippy invocation
onur-ozkan Mar 22, 2024
e6a675c
allow running clippy on most of the in-tree tools
onur-ozkan Mar 22, 2024
3683b11
create `Build::update_existing_submodule` and use for llvm
onur-ozkan Mar 28, 2024
1ca1457
Support type '/' to search
mu001999 Apr 2, 2024
5519445
set --sysroot outside the driver rather than messing with the argumen…
RalfJung Mar 25, 2024
9ec38ea
readme updates
RalfJung Mar 26, 2024
a57a990
drop `changelog-seen`
onur-ozkan Apr 10, 2024
cce21be
add change entry for the removal of `changelog-seen`
onur-ozkan Apr 10, 2024
fb779ee
Windows: add basic support for FormatMessageW
RalfJung Apr 15, 2024
65978ed
Auto merge of #3464 - RalfJung:windows-err, r=RalfJung
bors Apr 15, 2024
3868c9f
fix error display for './miri run --dep'
RalfJung Apr 15, 2024
34ab668
Auto merge of #3465 - RalfJung:run-dep-error-format, r=RalfJung
bors Apr 15, 2024
e928fc5
add some basic support for GetFullPathNameW
RalfJung Apr 15, 2024
69e8e2d
Auto merge of #3411 - RalfJung:sysroot, r=RalfJung
bors Apr 15, 2024
0dee2b1
Auto merge of #3466 - RalfJung:GetFullPathNameW, r=RalfJung
bors Apr 15, 2024
54f90bc
Make `split_simd_to_128bit_chunks` take only one operand
eduardosm Apr 14, 2024
ca2bd01
Bump rustc-build-sysroot to 0.4.6
RossSmyth Apr 15, 2024
67334df
The new solver ignores `DefineOpaqueTypes`, so switch it to `Yes`
oli-obk Apr 15, 2024
909fcfc
Stabilize checking of cfgs at compile-time: --check-cfg option
Urgau Feb 25, 2024
a20de73
Move --check-cfg documentation to stable books
Urgau Feb 25, 2024
0abd67f
Auto merge of #3462 - eduardosm:chunk-128, r=RalfJung
bors Apr 15, 2024
78ea5db
Auto merge of #3467 - RossSmyth:bumpSysroot, r=RalfJung
bors Apr 15, 2024
ef1d084
Match ergonomics 2024: `mut` doesn't reset binding mode
Jules-Bertholet Apr 6, 2024
83f330f
Migration lint
Jules-Bertholet Apr 6, 2024
d5d700d
Temporarily remove future compatibility label from migration lint
Jules-Bertholet Apr 6, 2024
1b2e471
Fix typo
Jules-Bertholet Apr 14, 2024
e13911e
Rename feature gate
Jules-Bertholet Apr 14, 2024
1b6d435
Mark gate as incomplete
Jules-Bertholet Apr 14, 2024
7a32117
Fix tests
Jules-Bertholet Apr 14, 2024
2f08c2c
update lockfile
RalfJung Apr 16, 2024
876ac7b
avoid passing --sysroot twice in bootstrap
RalfJung Apr 16, 2024
e03926c
Change a diagnostics-path-only `DefineOpaqueTypes` to `Yes`.
oli-obk Apr 16, 2024
18bfca5
interpret: pass MemoryKind to before_memory_deallocation
RalfJung Apr 16, 2024
5b8b9cf
interpret: remove outdated comment
RalfJung Apr 16, 2024
04a2e3c
Rollup merge of #122632 - onur-ozkan:fix-llvm-caching-bug, r=albertla…
matthiaskrgr Apr 16, 2024
d92cfc8
Rollup merge of #122883 - onur-ozkan:clippy-build-step, r=albertlarsan68
matthiaskrgr Apr 16, 2024
b94a4e6
Rollup merge of #123355 - mu001999:rustdoc/search, r=GuillaumeGomez
matthiaskrgr Apr 16, 2024
902487a
Rollup merge of #123501 - Urgau:stabilize-check-cfg, r=petrochenkov
matthiaskrgr Apr 16, 2024
ff34231
Rollup merge of #123535 - Jules-Bertholet:mut_dont_reset_binding_mode…
matthiaskrgr Apr 16, 2024
4f05fbc
Rollup merge of #123711 - onur-ozkan:drop-changelog-seen, r=albertlar…
matthiaskrgr Apr 16, 2024
c709c51
Rollup merge of #123969 - oli-obk:define_opaque_types6, r=compiler-er…
matthiaskrgr Apr 16, 2024
3ded9ef
Rollup merge of #124007 - RalfJung:miri, r=RalfJung
matthiaskrgr Apr 16, 2024
8e85da4
Rollup merge of #124017 - oli-obk:define_opaque_types8, r=compiler-er…
matthiaskrgr Apr 16, 2024
84e0367
Rollup merge of #124018 - RalfJung:dealloc-memory-kind, r=oli-obk
matthiaskrgr Apr 16, 2024
b03b87d
Rollup merge of #124024 - RalfJung:interpret-comment, r=oli-obk
matthiaskrgr Apr 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
readme updates
  • Loading branch information
RalfJung committed Apr 8, 2024
commit 9ec38eafc907969c1140bedab06874c2628b38dd
37 changes: 17 additions & 20 deletions src/tools/miri/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,35 +451,32 @@ Some native rustc `-Z` flags are also very relevant for Miri:
* `-Zmir-emit-retag` controls whether `Retag` statements are emitted. Miri
enables this per default because it is needed for [Stacked Borrows] and [Tree Borrows].

Moreover, Miri recognizes some environment variables:
Moreover, Miri recognizes some environment variables (unless noted otherwise, these are supported
by all intended entry points, i.e. `cargo miri` and `./miri {test,run}`):

* `MIRI_AUTO_OPS` indicates whether the automatic execution of rustfmt, clippy and toolchain setup
should be skipped. If it is set to `no`, they are skipped. This is used to allow automated IDE
actions to avoid the auto ops.
* `MIRI_LOG`, `MIRI_BACKTRACE` control logging and backtrace printing during
Miri executions, also [see "Testing the Miri driver" in `CONTRIBUTING.md`][testing-miri].
* `MIRIFLAGS` (recognized by `cargo miri` and the test suite) defines extra
flags to be passed to Miri.
* `MIRI_LIB_SRC` defines the directory where Miri expects the sources of the
standard library that it will build and use for interpretation. This directory
must point to the `library` subdirectory of a `rust-lang/rust` repository
checkout.
* `MIRI_SYSROOT` (recognized by `cargo miri` and the test suite) indicates the sysroot to use. When
using `cargo miri`, this skips the automatic setup -- only set this if you do not want to use the
automatically created sysroot. When invoking `cargo miri setup`, this indicates where the sysroot
will be put.
* `MIRI_TEST_TARGET` (recognized by the test suite and the `./miri` script) indicates which target
* `MIRIFLAGS` defines extra flags to be passed to Miri.
* `MIRI_LIB_SRC` defines the directory where Miri expects the sources of the standard library that
it will build and use for interpretation. This directory must point to the `library` subdirectory
of a `rust-lang/rust` repository checkout.
* `MIRI_SYSROOT` indicates the sysroot to use. When using `cargo miri`, this skips the automatic
setup -- only set this if you do not want to use the automatically created sysroot. When invoking
`cargo miri setup`, this indicates where the sysroot will be put.
* `MIRI_TEST_TARGET` (recognized by `./miri {test,run}`) indicates which target
architecture to test against. `miri` and `cargo miri` accept the `--target` flag for the same
purpose.
* `MIRI_TEST_THREADS` (recognized by the test suite): set the number of threads to use for running tests.
By default the number of cores is used.
* `MIRI_NO_STD` (recognized by `cargo miri`) makes sure that the target's sysroot is built without
libstd. This allows testing and running no_std programs.
(Miri has a heuristic to detect no-std targets based on the target name; this environment variable
is only needed when that heuristic fails.)
* `RUSTC_BLESS` (recognized by the test suite and `cargo-miri-test/run-test.py`): overwrite all
* `MIRI_TEST_THREADS` (recognized by `./miri test`): set the number of threads to use for running tests.
By default, the number of cores is used.
* `MIRI_NO_STD` makes sure that the target's sysroot is built without libstd. This allows testing
and running no_std programs. (Miri has a heuristic to detect no-std targets based on the target
name; this environment variable is only needed when that heuristic fails.)
* `RUSTC_BLESS` (recognized by `./miri test` and `cargo-miri-test/run-test.py`): overwrite all
`stderr` and `stdout` files instead of checking whether the output matches.
* `MIRI_SKIP_UI_CHECKS` (recognized by the test suite): don't check whether the
* `MIRI_SKIP_UI_CHECKS` (recognized by `./miri test`): don't check whether the
`stderr` or `stdout` files match the actual output.

The following environment variables are *internal* and must not be used by
Expand Down