Add test for linking non-existent static library
This commit is contained in:
parent
e5e9867f60
commit
1e3f475d64
2 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
//~ ERROR kind="static-nobundle" is feature gated
|
||||
// Test the behavior of rustc when non-existent library is statically linked
|
||||
|
||||
// compile-flags: -l static-nobundle=nonexistent
|
||||
|
||||
fn main() {}
|
|
@ -0,0 +1,7 @@
|
|||
error[E0658]: kind="static-nobundle" is feature gated (see issue #37403)
|
||||
|
|
||||
= help: add #![feature(static_nobundle)] to the crate attributes to enable
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0658`.
|
Loading…
Add table
Add a link
Reference in a new issue