Ralf Jung
9dba78a76b
show a better error when running Miri with the wrong sysroot
2022-07-19 14:14:20 -04:00
Ralf Jung
56fefe19bf
cargo-miri: write the Xargo project files atomically
2022-07-18 20:19:02 -04:00
Oli Scherer
a9f9d48b1a
Support no-std targets and test it in CI
2022-06-30 12:51:22 +00:00
Ralf Jung
6f7c0c0a2a
revert --color=always changes
2022-06-29 10:14:26 -04:00
Ralf Jung
fed0e16397
don't assert the same thing twice
2022-06-25 20:02:03 -04:00
Ben Kimock
da6a78012a
Actually pass through the request for --color=always
2022-06-24 23:08:18 -04:00
Ralf Jung
0eb8e60ed0
avoid setting both RUSTC and RUSTC_WRAPPER
2022-06-22 10:02:33 -07:00
Ben Kimock
6cd74ee9c7
Pass --color=always through cargo-miri
2022-06-20 11:02:56 -04:00
Ralf Jung
cca3dea379
update and move cargo-miri operational description
2022-06-07 13:59:47 -04:00
Ralf Jung
3d30aece83
clippy: cargo-miri
2022-06-04 13:37:37 -04:00
Ralf Jung
61265f5f19
fmt
2022-06-01 06:42:11 -04:00
Ralf Jung
81d661f134
bump xargo version, and tweak xargo caching
2022-06-01 06:28:27 -04:00
Ralf Jung
9a448744a2
different strategy for normalizing Rust stdlib path
2022-05-31 18:37:32 -04:00
Oli Scherer
f1756c3ddd
Add a custom ui test runner and move all tests to it
2022-05-25 13:31:26 +00:00
Ralf Jung
a57c30118a
port cargo-miri to edition 2021
2022-04-09 11:17:16 -04:00
Alex Touchet
79a1001b39
Use SPDX license format
2022-04-04 15:52:09 -07:00
Ben Kimock
65125df1cd
Consider the cargo workspace when checking if a frame is local
2022-03-18 16:28:13 -04:00
klensy
45442c80b8
update crate rustc_version 0.3 -> 0.4 to remove some deps
2022-01-03 02:47:42 +03:00
Ralf Jung
e51810df2c
add and document MIRI_LIB_SRC env var to set the source from which Miri builds the standard library
2021-12-23 16:04:09 +01:00
Ralf Jung
b44f7ea079
require xargo 0.3.23
2021-12-16 15:20:58 +01:00
Ralf Jung
6dcb5389cd
update lockfile
2021-12-14 18:20:03 +01:00
Ralf Jung
5d71528e4d
hack to work around RA quirk
2021-11-25 17:37:36 -05:00
Ralf Jung
a15539e911
run rustdoc with the miri cfg flag
2021-11-14 12:19:58 -05:00
Smitty
5aecd2811e
One character aliases for cargo-miri run/test
...
The main `cargo` command supports `cargo r` as an alias for
`cargo run`, and `cargo t` as an alias for `cargo test`. This adds
support to them in cargo-miri for consistency.
2021-09-11 12:00:59 -04:00
Ralf Jung
cffa1d325c
fmt cargo-miri
2021-07-11 14:27:07 +02:00
hyd-dev
e3fca9b3f1
Import std::process::self
2021-07-02 16:39:43 +08:00
hyd-dev
08236912a7
Improve doc comment
2021-06-27 23:10:09 +08:00
hyd-dev
7d310aa836
Fix .expect()
message
2021-06-27 23:08:38 +08:00
hyd-dev
e751eeb197
drop(cmd.arg(arg))
-> cmd.arg(arg);
2021-06-27 23:07:15 +08:00
hyd-dev
1692932966
Show error if --target-dir
is provided more than once
2021-06-26 22:36:05 +08:00
hyd-dev
8f87903ec9
Fix typo
2021-06-26 22:22:40 +08:00
hyd-dev
2ced7ecb9f
ArgFlagValueWithOtherArgsIter
-> ArgSplitFlagValue
2021-06-26 22:21:07 +08:00
hyd-dev
c3ad18256d
long closure -> function
2021-06-26 22:21:07 +08:00
hyd-dev
2d17b5a550
Use miri
inside the target directory used by rustc as Miri's target directory
2021-06-25 01:09:10 +08:00
hyd-dev
d1de0843ed
Change preexisting "doc-test" to "doctest"
2021-05-27 19:48:07 +08:00
hyd-dev
43db2aa5a9
Change "Doc-tests" in the comment to "Doctests"
2021-05-27 19:45:10 +08:00
hyd-dev
773eb1e970
"doc-tests" -> "doctests"
2021-05-27 18:45:21 +08:00
hyd-dev
f42a6d1026
Skip doctests of proc-macro
crates
2021-05-27 07:03:05 +08:00
Ralf Jung
7b3566096c
configure rustfmt; fmt cargo-miri
2021-05-16 11:11:35 +02:00
Ralf Jung
64f128c456
support building Miri outside a git repo
2021-05-15 14:36:53 +02:00
bors
58436e942a
Auto merge of #1769 - RalfJung:remove-compat, r=oli-obk
...
remove compatibility code for passing miri flags via cargo arguments
With https://github.com/rust-lang/miri/pull/1540 , we deprecated `cargo miri test -- -Zmiri-disable-stacked-borrows` as a style of passing flags to Miri, introducing `MIRIFLAGS="-Zmiri-disable-stacked-borrows" cargo miri test` instead. This made `cargo miri` more compatible with `cargo`; both now behave the same in terms of argument parsing.
However, to avoid breaking things, I introduced some backwards compatibility hack such that the old way would still work. Six months later, I think it is time to remove that hack.
2021-04-22 07:47:56 +00:00
Ralf Jung
6834944fd3
fix MIRI_BE_RUSTC value during sysroot build
2021-04-18 12:29:31 +02:00
Ralf Jung
eaba4b2d2a
remove compatibility code for passing miri flags via cargo arguments
2021-04-10 14:07:46 +02:00
hyd-dev
3dff1d4fcd
Don't use MIRI_DEFAULT_ARGS
to compile host crates
2021-04-09 00:57:59 +08:00
Ralf Jung
2f6dff6da8
nits and fix non-deterministic test output
2021-04-05 13:18:59 +02:00
Ralf Jung
f9bd6b0756
nits; test running no doctests
2021-04-05 12:46:36 +02:00
Ralf Jung
e66a89c8af
avoid some dead code and test no_run tests
2021-04-05 12:37:22 +02:00
Ralf Jung
29bc8a57b0
add test for compile_fail; de-duplicate sysroot forwarding
2021-04-05 12:16:31 +02:00
hyd-dev
65597951b7
Fix sysroot for rustdoc
2021-04-05 11:56:13 +02:00
Ralf Jung
9083e00b2c
resolve semantic conflicts
2021-04-05 11:55:53 +02:00