Skip to content
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

Tracking Issue for -Z remap-cwd-prefix #89434

Open
2 tasks
ehuss opened this issue Oct 1, 2021 · 2 comments
Open
2 tasks

Tracking Issue for -Z remap-cwd-prefix #89434

ehuss opened this issue Oct 1, 2021 · 2 comments
Labels
A-CLI Area: Command-line interface (CLI) to the compiler A-reproducibility Area: Reproducible / deterministic builds C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@ehuss
Copy link
Contributor

ehuss commented Oct 1, 2021

This is a tracking issue for -Z remap-cwd-prefix which rewrites absolute paths in the current directory to the given value.

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Unresolved Questions

  • What is the relationship with RFC 3127?
  • Will this always be defined to be the same as --remap-path-prefix=$(pwd)=VALUE? That is, what gets remapped? Debug info, backtraces, compiler macros, coverage data, etc? What will happen if RFC 3127 results in separate mapping flags?

Implementation history

@ehuss ehuss added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. A-reproducibility Area: Reproducible / deterministic builds labels Oct 1, 2021
@fangism
Copy link

fangism commented Nov 1, 2021

-Zremap-cwd-prefix=. has been working well for me. We no longer see build environment paths in the strings of the resulting crates and executables.

@cristifalcas
Copy link

When will this go to stable flags?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: Command-line interface (CLI) to the compiler A-reproducibility Area: Reproducible / deterministic builds C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants