Skip to content

Commit 3548c8f

Browse files
Mention cdylibs in LTO error message.
1 parent 93da4f8 commit 3548c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trans/back/lto.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub fn run(sess: &session::Session,
5656
// Make sure we actually can run LTO
5757
for crate_type in sess.crate_types.borrow().iter() {
5858
if !crate_type_allows_lto(*crate_type) {
59-
sess.fatal("lto can only be run for executables and \
59+
sess.fatal("lto can only be run for executables, cdylibs and \
6060
static library outputs");
6161
}
6262
}

0 commit comments

Comments
 (0)