Skip to content

Commit dae6966

Browse files
committed
Fix review comments
1 parent df28708 commit dae6966

File tree

7 files changed

+4
-29
lines changed

7 files changed

+4
-29
lines changed

cargo-miri/src/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub fn setup(
160160

161161
// Do the build.
162162
let status = SysrootBuilder::new(&sysroot_dir, target)
163-
.build_mode(BuildMode::Build)
163+
.build_mode(BuildMode::Build) // not a real build, since we use dummy codegen
164164
.rustc_version(rustc_version.clone())
165165
.sysroot_config(sysroot_config)
166166
.rustflags(rustflags)

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl rustc_driver::Callbacks for MiriBeRustCompilerCalls {
241241
// which will be used later in non-`MIRI_BE_RUSTC` mode.
242242
config.override_queries = Some(|_, local_providers| {
243243
// We need to add #[used] symbols to exported_symbols for `lookup_link_section`.
244-
// FIXME handle this somehow in rustc itself to avoid this hack
244+
// FIXME handle this somehow in rustc itself to avoid this hack.
245245
local_providers.exported_non_generic_symbols = |tcx, LocalCrate| {
246246
let reachable_set = tcx.with_stable_hashing_context(|hcx| {
247247
tcx.reachable_set(()).to_sorted(&hcx, true)

test-cargo-miri/Cargo.lock

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-cargo-miri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = ["cdylib", "subcrate", "issue-1567", "exported-symbol-dep", "test-local-crate-detection"]
2+
members = ["subcrate", "issue-1567", "exported-symbol-dep", "test-local-crate-detection"]
33
exclude = ["no-std-smoke"] # it wants to be panic="abort"
44

55
[package]

test-cargo-miri/cdylib/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

test-cargo-miri/cdylib/src/lib.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cdylib,subcrate,issue_1567,exported_symbol_dep,test_local_crate_detection,cargo_miri_test,exported_symbol,issue_1691,issue_1705,issue_rust_86261,proc_macro_crate
1+
subcrate,issue_1567,exported_symbol_dep,test_local_crate_detection,cargo_miri_test,exported_symbol,issue_1691,issue_1705,issue_rust_86261,proc_macro_crate

0 commit comments

Comments
 (0)