Skip to content

remap-path-prefix will not re-compile properly in dev build #66955

Closed
@daxpedda

Description

@daxpedda
Old post

Using remap-path-prefix in development builds has no effect.
I'm not sure if this is intended or not, but it's not documented.
Would write a documentation PR if this is intended.

Changing remap-path-prefix in dev mode will not properly cause re-compilation and the debug info will not change.
In release mode changing the flag will always cause proper re-compilation and update the debug info accordingly.

Meta

rustc 1.41.0-nightly (412f43ac5 2019-11-24)
binary: rustc
commit-hash: 412f43ac5b4ae8c3599e71c6972112e9be4758fa
commit-date: 2019-11-24
host: x86_64-pc-windows-msvc
release: 1.41.0-nightly
LLVM version: 9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationA-reproducibilityArea: Reproducible / deterministic buildsC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions