diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-04-22 09:13:44 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2023-09-19 13:54:49 -0400 |
commit | dbf081c9ce7c145908d96eb9fa664b8b5b1f5896 (patch) | |
tree | a076182cf4c465f81dc50c8096e72fc34c7277b7 /mesonbuild/compilers/c_function_attributes.py | |
parent | 7321f01678d6dc286a4616a843f835cb6b949520 (diff) | |
download | meson-dbf081c9ce7c145908d96eb9fa664b8b5b1f5896.zip meson-dbf081c9ce7c145908d96eb9fa664b8b5b1f5896.tar.gz meson-dbf081c9ce7c145908d96eb9fa664b8b5b1f5896.tar.bz2 |
Rust: Fix both_libraries() case
Rustc does not produce object files we can reuse to build both
libraries. Ideally this should be done with a single target that has
both `--crate-type` arguments instead of having 2 different build rules.
As temporary workaround, build twice and ensure they don't get conflicts
in intermediary files created by rustc by passing target's private
directory as --out-dir.
See https://github.com/rust-lang/rust/issues/111083.
Diffstat (limited to 'mesonbuild/compilers/c_function_attributes.py')
0 files changed, 0 insertions, 0 deletions