-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Make miri a subtree instead of a submodule #102028
Merged
Merged
Changes from all commits
Commits
Show all changes
5441 commits
Select commit
Hold shift + click to select a range
530abac
Auto merge of #2447 - RalfJung:rustup, r=RalfJung
bors 622613f
Use real exec on cfg(unix) targets
saethlin a719c05
Auto merge of #2426 - saethlin:unix-exec, r=RalfJung
bors 38e7bcf
Use cargo_metadata in cargo-miri
avrong 01a6109
Fix formatting
avrong 44dc49f
Auto merge of #2450 - avrong:cargo-metadata, r=oli-obk
bors 66f6fa6
Fix typo in eval.rs
Hiroki6 8aab6bb
Auto merge of #2452 - Hiroki6:eval-rs-comments-typo, r=RalfJung
bors f6badf0
rustup
RalfJung 9ffea91
clippy
RalfJung 7865255
Auto merge of #2453 - RalfJung:rustup, r=RalfJung
bors b43bede
Add shim for `realpath` on unix
LegNeato 8356f4c
output realpath as a path, and remove a bogus test
RalfJung 87b9075
avoid double-space in test logging
RalfJung 25df001
Auto merge of #2458 - RalfJung:less-space, r=RalfJung
bors 9f4612a
Auto merge of #2457 - RalfJung:realpath, r=RalfJung
bors b29e7b8
Add `mkstemp` shim for unix
LegNeato c24c638
Auto merge of #2346 - LegNeato:mkstemp, r=RalfJung
bors 29e9a8a
split cargo-miri into multiple files
RalfJung 730a799
Auto merge of #2459 - RalfJung:cargo-miri-split, r=RalfJung
bors 9154f8b
Add additional raw error mappings for the nightly `io_error_more` fea…
LegNeato e1e1f42
make errno table syntactically more similar to rustc library code
RalfJung 1a87926
Auto merge of #2460 - LegNeato:sysconf, r=RalfJung
bors 6d14a5e
avoid strerror_r failure on unknown errnum
RalfJung 74c5f1b
Auto merge of #2465 - RalfJung:strerror_r, r=RalfJung
bors d7875ea
fix an ICE in nanosleep()
RalfJung 4208764
Auto merge of #2466 - RalfJung:longsleep, r=RalfJung
bors d61e55a
add support for env::home_dir
RalfJung 889c073
really, clippy?!?
RalfJung d6b750e
Auto merge of #2467 - RalfJung:home, r=RalfJung
bors 5a4ac1e
work around apfloat bug in FMA by using host floats instead
RalfJung b1316ec
support and test some more math functions
RalfJung f633537
Auto merge of #2469 - RalfJung:math, r=RalfJung
bors 61be3ba
support current_exe on macOS, and fix write_os_str length logic
RalfJung f8449c2
stop excluding TERM env var on Unix
RalfJung 437d241
move tests covering the env:: module into their own directory
RalfJung 79d147e
make home_dir work on macOS
RalfJung f0cd098
Auto merge of #2470 - RalfJung:macos-env, r=RalfJung
bors 353f7d5
add special exception for std_miri_test crate to call std-only functions
RalfJung 76d99c3
fix RUSTC_BACKTRACE always being set
RalfJung d2ba40e
make tests pass again
RalfJung 141d5a6
avoid panic/panic folder
RalfJung aa53f3f
Auto merge of #2472 - RalfJung:backtrace, r=RalfJung
bors e12df0f
also forward --manifest-path to 'cargo metadata'
RalfJung 4655382
reuse arg flag parse logic in rustdoc handling
RalfJung 08e7d94
avoid some string copies...
RalfJung 04744a2
fix CI benchmark checks
RalfJung a522442
Auto merge of #2474 - RalfJung:cargo-metadata-args, r=RalfJung
bors 366d11b
enable rustc lints
RalfJung b36b5e3
fix rustc lints in Miri
RalfJung 5b22aa7
Auto merge of #2475 - RalfJung:rustc-lints, r=RalfJung
bors 0f1ce43
clarifying comments for target-dir handling
RalfJung 94b6aaf
Auto merge of #2476 - RalfJung:target-dir, r=RalfJung
bors 5ead47e
rustup
RalfJung 654e15b
Auto merge of #2471 - RalfJung:term, r=RalfJung
bors 12e3f75
don't make it qutie so easy to get Miri to panic
RalfJung 1164815
make cargo-miri show_error a bit nicer to use
RalfJung b99d7bc
avoid intermediate allocations in show_error macro
RalfJung df3c141
Auto merge of #2477 - RalfJung:show-error, r=RalfJung
bors d630671
move atomic access alginment check to helper function and inside atom…
RalfJung cd2edbf
ensure atomics happen on mutable allocations, and fix futex test
RalfJung 927ab19
make some operations private to the data race detector / atomic intri…
RalfJung 43d3963
more detailed error message
RalfJung a1f5a75
rustup
RalfJung 5aef34c
Auto merge of #2464 - RalfJung:atomic-must-be-mutable, r=RalfJung
bors 591274b
rustup
RalfJung 78cbda3
Auto merge of #2461 - RalfJung:frame-in-std, r=RalfJung
bors 39ee574
Auto merge of #2478 - RalfJung:rustup, r=RalfJung
bors 23cd7b8
rustup for pthread_setname_np on Linux
RalfJung 38a4953
remove prctl, now that std does not use it any more
RalfJung 96049ef
move a bunch of type information into the respective shim
RalfJung 403b3f9
Auto merge of #2480 - RalfJung:rustup, r=RalfJung
bors 74e87b1
add test for raw_eq on a pointer
RalfJung 4e1bc7e
Auto merge of #2482 - RalfJung:raw-eq, r=RalfJung
bors e75b2c8
Breaking posix_memalign precondition is not UB
5225225 7df41a7
rustup
RalfJung d59bad9
fix data_race test
RalfJung 50ef22a
Auto merge of #2484 - RalfJung:rustup, r=RalfJung
bors e70473d
rustup
RalfJung a000764
Auto merge of #2487 - RalfJung:rustup, r=RalfJung
bors 297ddff
add test that we do not merge neighboring SRW
RalfJung 79ebfa2
make Miri build without the stack-cache feature
RalfJung 2e3da5d
check no-default-features and all-features build on CI
RalfJung db43ee5
defend test against overly smart Miri
RalfJung 793f198
Auto merge of #2489 - RalfJung:srw-merging, r=saethlin
bors 7c18b38
Rename memory hooks
saethlin 3992f06
rustup
saethlin 39c606f
Auto merge of #2488 - saethlin:rename-memory-hooks, r=RalfJung
bors ecb8ac5
make sure all builds are locked on CI
RalfJung ac655ce
Auto merge of #2490 - RalfJung:ci, r=RalfJung
bors 31b95dd
Auto merge of #2485 - 5225225:memalign, r=RalfJung
bors b4bdd5c
fix vscode configuration
RalfJung b8f6178
Auto merge of #2491 - RalfJung:vscode, r=RalfJung
bors 38002b6
organize shim tests into shims folder
RalfJung 7c856f8
move libc pthread tests into separate file
RalfJung 83953f5
remove unneeded rustc_private feature
RalfJung ed41f1c
remove some leftover //ignore that did not do anything
RalfJung af033ea
Auto merge of #2492 - RalfJung:tests, r=RalfJung
bors b6fc2fc
basic theading
beepster4096 08ffbb8
fix windows join/detach and add tests
beepster4096 9f69c41
rewrite handle impl again
beepster4096 d34242e
fix various issues
beepster4096 a05a8eb
add very basic Android support
RalfJung 3ec8dd8
implement setting the thread name on freebsd
RalfJung 4359f43
make abort-on-panic work on Android
RalfJung 5e10f14
clippy...
RalfJung 339500f
Auto merge of #2493 - RalfJung:android, r=RalfJung
bors c466ac0
add some missing assert_target_os
RalfJung 46da748
Auto merge of #2231 - DrMeepster:winfred, r=RalfJung
bors 14e72e7
Improve information sharing across SB diagnostics
saethlin 17fc52a
Clean up diff churn a bit, adjust comments
saethlin 15a4f0a
some CurrentSpan cleanup
saethlin 7397c8e
re-bless after rebase
RalfJung 09118da
Auto merge of #2454 - saethlin:diagnostics-cleanup, r=RalfJung
bors 53037a7
allow NOP-casts with mismatching vtables
RalfJung cf04c1f
rustup
RalfJung 1a03e30
Auto merge of #2473 - RalfJung:dyn-upcast-nop, r=RalfJung
bors 0c3ad68
add ./miri cargo for RA to invoke
RalfJung ab88e64
Auto merge of #2495 - RalfJung:ra, r=RalfJung
bors b073fe2
move vector_clock and sync into concurrency & make vector_clock private
Hiroki6 8ee6849
rustfmt
Hiroki6 7b07162
Auto merge of #2500 - Hiroki6:make-vector-clock-private, r=RalfJung
bors 8497fd4
pass clippy::integer_arithmetic in our shims
RalfJung 6e306f9
Auto merge of #2441 - RalfJung:arithmetic, r=oli-obk
bors daaa81f
document general shim pattern
RalfJung a109994
Auto merge of #2481 - RalfJung:shim-pattern, r=oli-obk
bors afacf62
notes on TLS dtor order
RalfJung e0f0e1f
Auto merge of #2503 - RalfJung:tls-dtor-order, r=RalfJung
bors 5259fb9
move thread.rs into concurrency
Hiroki6 2107cbb
reorganize imports a bit
RalfJung 53138c6
Auto merge of #2504 - Hiroki6:move-thread-to-concurrency-module, r=Ra…
bors 1914b61
cope with rustc aborting due to a signal
RalfJung 9f99aa9
Auto merge of #2505 - RalfJung:ui-test, r=oli-obk
bors 6f8885e
Run `pass` tests without building dependencies first
oli-obk d095429
Auto merge of #2448 - oli-obk:test_crates_on_their_own, r=RalfJung
bors fb071a1
Use ui_test from crates.io instead of having it in-tree
oli-obk d5853bc
Auto merge of #2449 - oli-obk:ui_test_subtree_sync, r=RalfJung
bors 88a7882
C FFI support for functions with int args and returns
6418501
Auto merge of #2363 - emarteca:int-function-args-returns, r=oli-obk
bors 10a1a59
fix data race error during env var cleanup
RalfJung 515038e
Auto merge of #2509 - RalfJung:env-data-race, r=RalfJung
bors fa1e51a
Fix merge conflict
oli-obk 4ae6874
Auto merge of #2510 - oli-obk:merge_conflict, r=oli-obk
bors 4e017b5
fix host/target check for extern-so
RalfJung 8280233
rename test to match usual naming conventions
RalfJung 235036f
nicer errors
RalfJung 101c4f2
Auto merge of #2511 - RalfJung:extern-so, r=RalfJung
bors 3a2252b
adjust for earlier init checking in the core engine
RalfJung df19b85
rustup
RalfJung bb82124
Auto merge of #2455 - RalfJung:scalar-always-init, r=RalfJung
bors f4ba8b1
Improve SC comments
cbeuw 01dffe0
Remove useless store buffer search logging
cbeuw a2467c9
Add C++20 SC access test
cbeuw 0f9e009
Fix C++20 SC access unsoundness
cbeuw 6dea99e
Supress clippy error
cbeuw b4eff16
ensure we don't compare provenance
RalfJung 12907ab
Auto merge of #2514 - RalfJung:dont-compare, r=RalfJung
bors d39b683
dont rerun build script unnecessarily
RalfJung 74d99ab
Auto merge of #2515 - RalfJung:build, r=RalfJung
bors 3e97d8e
Comment deviations from the paper
cbeuw 8866513
Auto merge of #2512 - cbeuw:scfix, r=RalfJung
bors abe890d
slightly improve protector-related error messages
RalfJung fec1c7a
Auto merge of #2513 - RalfJung:protected, r=saethlin
bors 70b960b
Skip field retagging on ZSTs, it can take forever
saethlin c9b36b4
clarify test purpose
RalfJung 284b59c
Auto merge of #2517 - saethlin:zst-field-retagging, r=RalfJung
bors da0d482
Use the better FnEntry spans in protector errors
saethlin da45adc
Auto merge of #2519 - saethlin:rustup, r=RalfJung
bors b74654f
Bump UI test dependency
oli-obk eafc100
Bump ui_test to 0.3.1
oli-obk 240f92a
add comment
RalfJung feeeba2
Auto merge of #2521 - oli-obk:bump_ui_test, r=RalfJung
bors 4cb26af
fix progress report being deduplicated
RalfJung 671a4b8
make backtrace header a bit more visible
RalfJung 1135ad3
make shim_arg_size ptr-width-independent
RalfJung 95b315d
Auto merge of #2524 - RalfJung:progress-report, r=RalfJung
bors d21b601
make Miri build again with rustc provenance changes
RalfJung 0113f9e
rustup
RalfJung 0da5f76
Auto merge of #2516 - RalfJung:read-pointer-as-bytes, r=RalfJung
bors 3cfb991
Add a protector test that demonstrates the base tag diagnostic
saethlin e12962b
Zulip notifications: ping the Miri team
RalfJung 8218248
Auto merge of #2525 - RalfJung:zulip, r=RalfJung
bors 2d50443
Auto merge of #2523 - saethlin:protector-test, r=RalfJung
bors 5f3545e
disable extern-so ffi support for now due to licensing situation
RalfJung 8c8b479
Auto merge of #2527 - RalfJung:noffi, r=RalfJung
bors 2f348ab
Revert "disable extern-so ffi support for now due to licensing situat…
RalfJung 92c24c4
Auto merge of #2529 - RalfJung:yesffi, r=RalfJung
bors 7155a21
Rustup
oli-obk 6a29a68
Clippy after rustup
oli-obk 169569c
tweak variable name
RalfJung dba35d2
Auto merge of #2530 - oli-obk:rustup, r=RalfJung
bors c011126
Fix build with `#[unix_sigpipe = "..."]` support in rustc
Enselic 9073179
Auto merge of #2532 - Enselic:fix-build-with-unix_sigpipe, r=RalfJung
bors ee1c1e6
Add support for BCRYPT_RNG_ALG_HANDLE
saethlin ec43f1d
Auto merge of #2533 - saethlin:windows-rng, r=ChrisDenton
bors 4f30af5
rustup: bring in Miri backtrace-rs pruning fix
saethlin b8a97c4
Auto merge of #2534 - saethlin:rustup, r=saethlin
bors f9ff70c
Rustup
oli-obk ef3f649
Auto merge of #2535 - oli-obk:rustup, r=oli-obk
bors e91db9f
Rustup
oli-obk beed5ed
Auto merge of #2539 - oli-obk:rustup, r=oli-obk
bors d61d4c6
Implement -Zmiri-tag-gc a garbage collector for tags
saethlin f59605c
In CI set the GC interval to 1 for Linux only
saethlin f6cbba1
fix typo
lengyijun 3886a63
Auto merge of #2542 - lengyijun:patch-2, r=oli-obk
bors a00fa96
Auto merge of #2479 - saethlin:tag-gc, r=oli-obk
bors 93e41f6
Linux has more testing, we should do the extra checks there
saethlin aebfbf2
fix typo
bors c7f7bc0
Auto merge of #2541 - lengyijun:patch-1, r=RalfJung
bors 7e66a9f
Auto merge of #2543 - saethlin:be-slow-on-linux, r=oli-obk
bors 6a37643
make `sleep` work with isolation enabled
pvdrz ad69e0b
hide all enums inside kind types
pvdrz f5e2f73
move clock stuff to separate file
RalfJung bc307b4
organize clock arithmetic more like the stdlib
RalfJung 613a436
add extra sanity check against depending on system time with isolatio…
RalfJung b16d301
test fast sleeping
RalfJung c834637
address review comments
pvdrz 2f1fa12
Auto merge of #2506 - pvdrz:a-really-bad-clock, r=saethlin
bors a094296
don't use egrep, we don't need it
saethlin bb3bac0
Auto merge of #2544 - saethlin:egrep, r=saethlin
bors 7fdd924
add/fix some comments
RalfJung fd05ff5
Auto merge of #2546 - RalfJung:comments, r=RalfJung
bors 1a95556
note on deterministic 'fake' API implementations
RalfJung 0def954
Auto merge of #2547 - RalfJung:fake-apis, r=saethlin
bors f0c6f0d
rustup
RalfJung 855a2ad
give macOS more time
RalfJung 4b9463c
Auto merge of #2551 - RalfJung:rustup, r=RalfJung
bors 3cb27f5
avoid thread-local var indirection for non-halting diagnostics
RalfJung cc149c7
put a tcx into the Machine so that we have to pass around fewer things
RalfJung 5ca1f85
make some names more consistent
RalfJung 7687b7e
rustup, fmt
RalfJung d9ad25e
Auto merge of #2548 - RalfJung:remove-tls-diagnostics-hack, r=RalfJung
bors bacf131
remove Windows TERM env var hack and -Zmiri-env-exclude
RalfJung dd80b1a
work harder around notorious macos unrealiability
RalfJung dfa6f88
Auto merge of #2552 - RalfJung:env-term, r=oli-obk
bors 42523d9
make a sync test more reliable
RalfJung eb84c8b
Auto merge of #2553 - RalfJung:macos-is-a-pain, r=RalfJung
bors 369efd0
Lint fixes
oli-obk 4f35795
Only support libffi on unix for now
oli-obk 351afbb
Auto merge of #2555 - oli-obk:libffi-is-unhappy, r=RalfJung
bors 33284ec
remove unnecessary to_string
RalfJung c672c35
format > to_string
RalfJung 75dd959
Auto merge of #2557 - RalfJung:triple-to-string, r=RalfJung
bors d9382d0
Remove miri submodule
oli-obk 6cfa7ef
Remove miri from the submodule list and require it for CI to pass
oli-obk 7e23244
HACK: Treat miri as if it were a submodule
oli-obk 3f3167f
miri is not in toolstate any more
RalfJung f45b570
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbe…
oli-obk 47cb378
Remove unused imports
oli-obk 2ce88a5
Allow miri docs to keep failing for now
oli-obk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -35,18 +35,6 @@ pub fn tmpdir(builder: &Builder<'_>) -> PathBuf { | |||||
builder.out.join("tmp/dist") | ||||||
} | ||||||
|
||||||
fn missing_tool(tool_name: &str, skip: bool) { | ||||||
if skip { | ||||||
println!("Unable to build {}, skipping dist", tool_name) | ||||||
} else { | ||||||
let help = "note: not all tools are available on all nightlies\nhelp: see https://forge.rust-lang.org/infra/toolstate.html for more information"; | ||||||
panic!( | ||||||
"Unable to build submodule tool {} (use `missing-tools = true` to ignore this failure)\n{}", | ||||||
tool_name, help | ||||||
) | ||||||
} | ||||||
} | ||||||
|
||||||
fn should_build_extended_tool(builder: &Builder<'_>, tool: &str) -> bool { | ||||||
if !builder.config.extended { | ||||||
return false; | ||||||
|
@@ -1209,18 +1197,9 @@ impl Step for Miri { | |||||
let compiler = self.compiler; | ||||||
let target = self.target; | ||||||
|
||||||
let miri = builder | ||||||
.ensure(tool::Miri { compiler, target, extra_features: Vec::new() }) | ||||||
.or_else(|| { | ||||||
missing_tool("miri", builder.build.config.missing_tools); | ||||||
None | ||||||
})?; | ||||||
let cargomiri = builder | ||||||
.ensure(tool::CargoMiri { compiler, target, extra_features: Vec::new() }) | ||||||
.or_else(|| { | ||||||
missing_tool("cargo miri", builder.build.config.missing_tools); | ||||||
None | ||||||
})?; | ||||||
let miri = builder.ensure(tool::Miri { compiler, target, extra_features: Vec::new() })?; | ||||||
let cargomiri = | ||||||
builder.ensure(tool::CargoMiri { compiler, target, extra_features: Vec::new() })?; | ||||||
|
||||||
let mut tarball = Tarball::new(builder, "miri", &target.triple); | ||||||
tarball.set_overlay(OverlayKind::Miri); | ||||||
|
@@ -1451,7 +1430,7 @@ impl Step for Extended { | |||||
|
||||||
let xform = |p: &Path| { | ||||||
let mut contents = t!(fs::read_to_string(p)); | ||||||
for tool in &["rust-demangler", "rust-analyzer", "miri", "rustfmt"] { | ||||||
for tool in &["rust-demangler", "rust-analyzer", "rustfmt"] { | ||||||
if !built_tools.contains(tool) { | ||||||
contents = filter(&contents, tool); | ||||||
} | ||||||
|
@@ -1491,7 +1470,8 @@ impl Step for Extended { | |||||
prepare("rust-std"); | ||||||
prepare("rust-analysis"); | ||||||
prepare("clippy"); | ||||||
for tool in &["rust-docs", "rust-demangler", "rust-analyzer", "miri"] { | ||||||
prepare("miri"); | ||||||
for tool in &["rust-docs", "rust-demangler", "rust-analyzer"] { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto
Suggested change
|
||||||
if built_tools.contains(tool) { | ||||||
prepare(tool); | ||||||
} | ||||||
|
@@ -1550,7 +1530,8 @@ impl Step for Extended { | |||||
prepare("rust-docs"); | ||||||
prepare("rust-std"); | ||||||
prepare("clippy"); | ||||||
for tool in &["rust-demangler", "rust-analyzer", "miri"] { | ||||||
prepare("miri"); | ||||||
for tool in &["rust-demangler", "rust-analyzer"] { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto; and also on line 1618 below. |
||||||
if built_tools.contains(tool) { | ||||||
prepare(tool); | ||||||
} | ||||||
|
@@ -1689,25 +1670,23 @@ impl Step for Extended { | |||||
.arg(etc.join("msi/remove-duplicates.xsl")), | ||||||
); | ||||||
} | ||||||
if built_tools.contains("miri") { | ||||||
builder.run( | ||||||
Command::new(&heat) | ||||||
.current_dir(&exe) | ||||||
.arg("dir") | ||||||
.arg("miri") | ||||||
.args(&heat_flags) | ||||||
.arg("-cg") | ||||||
.arg("MiriGroup") | ||||||
.arg("-dr") | ||||||
.arg("Miri") | ||||||
.arg("-var") | ||||||
.arg("var.MiriDir") | ||||||
.arg("-out") | ||||||
.arg(exe.join("MiriGroup.wxs")) | ||||||
.arg("-t") | ||||||
.arg(etc.join("msi/remove-duplicates.xsl")), | ||||||
); | ||||||
} | ||||||
builder.run( | ||||||
Command::new(&heat) | ||||||
.current_dir(&exe) | ||||||
.arg("dir") | ||||||
.arg("miri") | ||||||
.args(&heat_flags) | ||||||
.arg("-cg") | ||||||
.arg("MiriGroup") | ||||||
.arg("-dr") | ||||||
.arg("Miri") | ||||||
.arg("-var") | ||||||
.arg("var.MiriDir") | ||||||
.arg("-out") | ||||||
.arg(exe.join("MiriGroup.wxs")) | ||||||
.arg("-t") | ||||||
.arg(etc.join("msi/remove-duplicates.xsl")), | ||||||
); | ||||||
builder.run( | ||||||
Command::new(&heat) | ||||||
.current_dir(&exe) | ||||||
|
@@ -1755,6 +1734,7 @@ impl Step for Extended { | |||||
.arg("-dStdDir=rust-std") | ||||||
.arg("-dAnalysisDir=rust-analysis") | ||||||
.arg("-dClippyDir=clippy") | ||||||
.arg("-dMiriDir=miri") | ||||||
.arg("-arch") | ||||||
.arg(&arch) | ||||||
.arg("-out") | ||||||
|
@@ -1768,9 +1748,6 @@ impl Step for Extended { | |||||
if built_tools.contains("rust-analyzer") { | ||||||
cmd.arg("-dRustAnalyzerDir=rust-analyzer"); | ||||||
} | ||||||
if built_tools.contains("miri") { | ||||||
cmd.arg("-dMiriDir=miri"); | ||||||
} | ||||||
if target.ends_with("windows-gnu") { | ||||||
cmd.arg("-dGccDir=rust-mingw"); | ||||||
} | ||||||
|
@@ -1784,15 +1761,13 @@ impl Step for Extended { | |||||
candle("CargoGroup.wxs".as_ref()); | ||||||
candle("StdGroup.wxs".as_ref()); | ||||||
candle("ClippyGroup.wxs".as_ref()); | ||||||
candle("MiriGroup.wxs".as_ref()); | ||||||
if built_tools.contains("rust-demangler") { | ||||||
candle("RustDemanglerGroup.wxs".as_ref()); | ||||||
} | ||||||
if built_tools.contains("rust-analyzer") { | ||||||
candle("RustAnalyzerGroup.wxs".as_ref()); | ||||||
} | ||||||
if built_tools.contains("miri") { | ||||||
candle("MiriGroup.wxs".as_ref()); | ||||||
} | ||||||
candle("AnalysisGroup.wxs".as_ref()); | ||||||
|
||||||
if target.ends_with("windows-gnu") { | ||||||
|
@@ -1822,6 +1797,7 @@ impl Step for Extended { | |||||
.arg("StdGroup.wixobj") | ||||||
.arg("AnalysisGroup.wixobj") | ||||||
.arg("ClippyGroup.wixobj") | ||||||
.arg("MiriGroup.wixobj") | ||||||
.current_dir(&exe); | ||||||
|
||||||
if built_tools.contains("rust-analyzer") { | ||||||
|
@@ -1830,9 +1806,6 @@ impl Step for Extended { | |||||
if built_tools.contains("rust-demangler") { | ||||||
cmd.arg("RustDemanglerGroup.wixobj"); | ||||||
} | ||||||
if built_tools.contains("miri") { | ||||||
cmd.arg("MiriGroup.wixobj"); | ||||||
} | ||||||
|
||||||
if target.ends_with("windows-gnu") { | ||||||
cmd.arg("GccGroup.wixobj"); | ||||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you go ahead and remove
rust-analyzer
andrustfmt
while you're at it? they're both subtrees now too :)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 yea, will do