-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed as not planned
Closed as not planned
Copy link
Labels
A-download-rustcArea: The `rust.download-rustc` build option.Area: The `rust.download-rustc` build option.A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
I tried this code: ./configure --set download-rustc && x test src/tools/rust-analyzer
I expected to see this happen: All tests pass.
Instead, this happened:
Building tool rust-analyzer (stage2)
Compiling hir-ty v0.0.0 (/home/jyn/src/rust/src/tools/rust-analyzer/crates/hir-ty)
Compiling proc-macro-srv-cli v0.0.0 (/home/jyn/src/rust/src/tools/rust-analyzer/crates/proc-macro-srv-cli)
Compiling proc-macro-test v0.0.0 (/home/jyn/src/rust/src/tools/rust-analyzer/crates/proc-macro-test)
error: failed to run custom build command for `proc-macro-test v0.0.0 (/home/jyn/src/rust/src/tools/rust-analyzer/crates/proc-macro-test)`
Caused by:
process didn't exit successfully: `/home/jyn/src/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/proc-macro-test-3638122eb9dbe3d7/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=imp
cargo:rerun-if-env-changed=PROC_MACRO_TEST_TOOLCHAIN
Creating /home/jyn/src/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/proc-macro-test-df2f7c1372f2c495/out/proc-macro-test-imp-staging
Creating /home/jyn/src/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/proc-macro-test-df2f7c1372f2c495/out/proc-macro-test-imp-staging/src
Copying /home/jyn/src/rust/src/tools/rust-analyzer/crates/proc-macro-test/imp/Cargo.toml to /home/jyn/src/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/proc-macro-test-df2f7c1372f2c495/out/proc-macro-test-imp-staging/Cargo.toml
Copying /home/jyn/src/rust/src/tools/rust-analyzer/crates/proc-macro-test/imp/src/lib.rs to /home/jyn/src/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/proc-macro-test-df2f7c1372f2c495/out/proc-macro-test-imp-staging/src/lib.rs
Running cd "/home/jyn/src/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/proc-macro-test-df2f7c1372f2c495/out/proc-macro-test-imp-staging" && "/home/jyn/src/rust3/build/x86_64-unknown-linux-gnu/stage2-tools-bin/cargo" "build" "-p" "proc-macro-test-impl" "--message-format" "json" "--target-dir" "/home/jyn/src/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/build/proc-macro-test-df2f7c1372f2c495/out/target"
--- stderr
thread 'main' panicked at 'no dylib for proc-macro-test-impl found', crates/proc-macro-test/build.rs:99:39
Meta
HEAD is branched from ce1073b.
Metadata
Metadata
Assignees
Labels
A-download-rustcArea: The `rust.download-rustc` build option.Area: The `rust.download-rustc` build option.A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)