Skip to content

cargo rustc -- -Z no-trans always fails #1675

@reem

Description

@reem

Compiling the crate itself will always fail with an error similar to (example from compiling void):

$ cargo rustc --verbose -- -Zno-trans
Compiling void v0.0.4 (file:///Users/reem/code/rust/rust-void)
     Running `rustc src/lib.rs --crate-name void --crate-type lib -g -Zno-trans --out-dir /Users/reem/code/rust/rust-void/target/debug --emit=dep-info,link -L dependency=/Users/reem/code/rust/rust-void/target/debug -L dependency=/Users/reem/code/rust/rust-void/target/debug/deps`
could not rename dep info: "/Users/reem/code/rust/rust-void/target/debug/void.d"

Caused by:
  No such file or directory (os error 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions