diff options
| author | Adam C. Foltzer <acfoltzer@galois.com> | 2018-02-02 11:31:47 -0800 |
|---|---|---|
| committer | Adam C. Foltzer <acfoltzer@galois.com> | 2018-02-02 11:31:47 -0800 |
| commit | 281294286e1126ef0945ddedd4f577b01f28bc8b (patch) | |
| tree | e4324c58ddef1982d96892770424b7a3a289d984 | |
| parent | 1d81efb03d5efee5899db01737880b1b3969e1fc (diff) | |
| download | meson-281294286e1126ef0945ddedd4f577b01f28bc8b.tar.gz | |
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`.
| -rw-r--r-- | test cases/rust/4 polyglot/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
