From 281294286e1126ef0945ddedd4f577b01f28bc8b Mon Sep 17 00:00:00 2001 From: "Adam C. Foltzer" Date: Fri, 2 Feb 2018 11:31:47 -0800 Subject: Fix Rust shared polyglot test case for cross-compilation The crate-type in this case should have been `cdylib` since it's linking via C, rather than the default `dylib` that is meant for linking via `rustc`. --- test cases/rust/4 polyglot/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test cases/rust/4 polyglot/meson.build b/test cases/rust/4 polyglot/meson.build index a20d76648..b7eef57d9 100644 --- a/test cases/rust/4 polyglot/meson.build +++ b/test cases/rust/4 polyglot/meson.build @@ -1,5 +1,5 @@ project('rust and c polyglot executable', 'c', 'rust') -l = library('stuff', 'stuff.rs', install : true) +l = library('stuff', 'stuff.rs', rust_crate_type: 'cdylib', install : true) e = executable('prog', 'prog.c', link_with : l, install : true) test('polyglottest', e) -- cgit v1.2.3