Skip to content

Error with -Z time-passes #64339

Closed
Closed
@Ploppz

Description

@Ploppz
$ rustc --version
rustc 1.39.0-nightly (0b36e9dea 2019-09-09)
$ export RUSTFLAGS="-Z time-passes"
$ cargo build

error: failed to parse the cfg from `rustc --print=cfg`, got:
___
lib___.rlib
lib___.so
lib___.so
lib___.a
lib___.so
/home/erlend/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu
debug_assertions
proc_macro
target_arch="x86_64"
target_endian="little"
target_env="gnu"
target_family="unix"
target_feature="fxsr"
target_feature="mmx"
target_feature="sse"
target_feature="sse2"
target_has_atomic="16"
target_has_atomic="32"
target_has_atomic="64"
target_has_atomic="8"
target_has_atomic="cas"
target_has_atomic="ptr"
target_os="linux"
target_pointer_width="64"
target_thread_local
target_vendor="unknown"
unix
time: 0.020; rss: 53MB		total


Caused by:
  malformed cfg value or key/value pair: `time: 0.020; rss: 53MB		total`

Metadata

Metadata

Assignees

No one assigned

    Labels

    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