We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44dd8dc commit 9c877c2Copy full SHA for 9c877c2
src/test/run-make/linker-output-non-utf8/Makefile
@@ -8,5 +8,5 @@ bad_dir := $(TMPDIR)/zzz$$'\xff'
8
all:
9
$(RUSTC) library.rs
10
mkdir $(bad_dir)
11
- mv $(call DYLIB,library) $(bad_dir)
+ mv $(call STATICLIB,library) $(bad_dir)
12
LIBRARY_PATH=$(bad_dir) $(RUSTC) exec.rs 2>&1 | grep this_symbol_not_defined
src/test/run-make/linker-output-non-utf8/library.rs
@@ -8,12 +8,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-#![crate_type = "dylib"]
+#![crate_type = "staticlib"]
13
extern "C" {
14
fn this_symbol_not_defined();
15
}
16
17
+#[no_mangle]
18
pub extern "C" fn foo() {
19
unsafe { this_symbol_not_defined(); }
20
0 commit comments