mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
11 lines
547 B
Rust
11 lines
547 B
Rust
// compile-flags: --crate-type lib --extern foo={{src-base}}/crate-loading/auxiliary/libfoo.rlib
|
|
// normalize-stderr-test: "failed to mmap file '.*auxiliary/libfoo.rlib':.*" -> "failed to mmap file 'auxiliary/libfoo.rlib'"
|
|
// don't emit warn logging, it's basically the same as the errors and it's annoying to normalize
|
|
// rustc-env:RUSTC_LOG=error
|
|
// edition:2018
|
|
#![no_std]
|
|
use ::foo; //~ ERROR invalid metadata files for crate `foo`
|
|
//~| NOTE failed to mmap file
|
|
//~^^ ERROR invalid metadata files for crate `foo`
|
|
//~| NOTE failed to mmap file
|