diff options
| author | Michael Woerister <michaelwoerister@posteo.net> | 2016-12-02 18:02:14 -0500 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo.net> | 2016-12-05 11:05:25 -0500 |
| commit | 3548c8f56011ade169453231389bade8ca8a6bb1 (patch) | |
| tree | ac113d5acf8c16af567ff0bca46715d00b504511 | |
| parent | 93da4f81bfb879eea9236d5fd16734a68836c97c (diff) | |
| download | rust-3548c8f56011ade169453231389bade8ca8a6bb1.tar.gz rust-3548c8f56011ade169453231389bade8ca8a6bb1.zip | |
Mention cdylibs in LTO error message.
| -rw-r--r-- | src/librustc_trans/back/lto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans/back/lto.rs b/src/librustc_trans/back/lto.rs index 1960b368278..f137bfff034 100644 --- a/src/librustc_trans/back/lto.rs +++ b/src/librustc_trans/back/lto.rs @@ -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"); } } |
