Skip to content

Commit 55a75c2

Browse files
committed
[AVR][No Upstream] Cherry-pick workaround for rust-lang#39880
This shouldn't need to be in tree, but I'm committing it anyway because it's a headache when compiling with a separate LLVM root.
1 parent 776cb71 commit 55a75c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_llvm/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
#![feature(link_args)]
2525
#![feature(static_nobundle)]
2626

27+
// Workaround for rust-lang/rust#39880
28+
#[link(name = "ffi")] extern {}
29+
2730
// See librustc_cratesio_shim/Cargo.toml for a comment explaining this.
2831
#[allow(unused_extern_crates)]
2932
extern crate rustc_cratesio_shim;

0 commit comments

Comments
 (0)