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`.
pull/2938/head
Adam C. Foltzer 7 years ago
parent 1d81efb03d
commit 281294286e
  1. 2
      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)

Loading…
Cancel
Save