about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-01 17:07:06 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-05 12:46:42 -0700
commit41ed455db8cbde3cfff0d72e0ae383c20721b27a (patch)
treee4ec549938c65faa455b84ce1a9f780cbe9d33ca /src/rustllvm/ExecutionEngineWrapper.cpp
parent812637e683ef1092cdd62704ab53f0b4c5aabe19 (diff)
downloadrust-41ed455db8cbde3cfff0d72e0ae383c20721b27a.tar.gz
rust-41ed455db8cbde3cfff0d72e0ae383c20721b27a.zip
rustc: Repurpose the --crate-name CLI flag
In a cargo-driven world the primary location for the name of a crate will be in
its manifest, not in the source file itself. The purpose of this flag is to
reduce required duplication for new cargo projects.

This is a breaking change because the existing --crate-name flag actually
printed the crate name. This flag was renamed to --print-crate-name, and to
maintain consistence, the --crate-file-name flag was renamed to
--print-file-name.

To maintain backwards compatibility, the --crate-file-name flag is still
recognized, but it is deprecated.

[breaking-change]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions