diff options
| author | Sebastian Dröge <sebastian@centricular.com> | 2023-04-17 20:09:27 +0300 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2023-04-20 13:53:26 +0530 |
| commit | 3c9817fe7f0602df2d86519682e91fa8faf735ef (patch) | |
| tree | efefbbe9d2579bad429b327005fa4d315bc2276d /mesonbuild/compilers/compilers.py | |
| parent | 45629466a7959d73576ea9c0b2eb6cce16169735 (diff) | |
| download | meson-3c9817fe7f0602df2d86519682e91fa8faf735ef.tar.gz | |
rust: Don't allow spaces/dashes in Rust library names
The library names are directly mapped to filenames by meson while the
crate name gets spaces/dashes replaced by underscores. This works fine
to a certain degree except that rustc expects a certain filename scheme
for rlibs that matches the crate name.
When using such a library as a dependency of a dependency compilation
will fail with a confusing error message.
See https://github.com/rust-lang/rust/issues/110460
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions
