-
-
Notifications
You must be signed in to change notification settings - Fork 17k
[1.94+] Build Error when absolut path includes Whitespaces #155591
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcO-windows-gnuToolchain: GNU, Operating system: WindowsToolchain: GNU, Operating system: WindowsP-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Description
Activity
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcO-windows-gnuToolchain: GNU, Operating system: WindowsToolchain: GNU, Operating system: WindowsP-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Some Crates needing the gcc fail to build from Rust 1.94 onwards. I am unsure where the problem is but I think I know what it it.
I tried the default project init after using
cargo init .All I did was addgetrandomcrate to cargo.toml.Running
cargo runyields the following error.The project root lies at
C:\Users\NAME\Desktop\Code Workspace\rs_test. As you can see, there is one whitespace in it. It looks like this is a problem in the build pipeline since the Error message splits the path at one point. The same project builds just fine in Rust 1.93.Meta
OS: Win11 64bit
target:
x86_64-pc-windows-gnugcc:
MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r3 14.2.0rustc --version --verbose:Since multiple Crates are affected, this likely is a general problem.
Affected crates so far:
Larger Crates dependent on those and therefor currently failing to build too.