Mention cdylibs in LTO error message.
This commit is contained in:
parent
93da4f81bf
commit
3548c8f560
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ pub fn run(sess: &session::Session,
|
|||
// Make sure we actually can run LTO
|
||||
for crate_type in sess.crate_types.borrow().iter() {
|
||||
if !crate_type_allows_lto(*crate_type) {
|
||||
sess.fatal("lto can only be run for executables and \
|
||||
sess.fatal("lto can only be run for executables, cdylibs and \
|
||||
static library outputs");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue