Using -Ztrim-paths
with -Zbuild-std
gives bad version numbers for standard library paths
#117839
Labels
-Zbuild-std
Unstable Cargo option: Compile the standard library yourself.
C-bug
Category: This is a bug.
F-trim-paths
Feature: trim-paths
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: std/core version numbers matching rustc's version number
Instead, this happened: std/core have version number 0.0.0
This may be a cargo bug, but I assume it's just using the version numbers from the packaged
Cargo.toml
so would be fixed here.Meta
rustc --version --verbose
:cc #111540 (and I can't find a tracking issue for
-Zbuild-std
)The text was updated successfully, but these errors were encountered: