fish-shell/fish-rust
Mahmoud Al-Qudsi b17124d8d2 Add rsconf build system and check for gettext symbols
This is more complicated than it needs to be thanks to the presence of CMake and
the C++ ffi in the picture. rsconf can correctly detect the required libraries
and instruct rustc to link against them, but since we generate a static rust
library and have CMake link it against the C++ binaries, we are still at the
mercy of CMake picking up the symbols we want.

Unfortunately, we could detect the gettext symbols but discover at runtime that
they weren't linked in because CMake was compiled with `-DWITH_GETTEXT=0` or
similar (as the macOS CI runner does). This means we also need to pass state
between CMake and our build script to communicate which CMake options were
enabled.
2023-05-25 16:54:03 -05:00
..
src Simplify ScopeGuard and scoped_push() with Projection<T> 2023-05-25 16:47:59 -05:00
widestring-suffix Initial Rust commit 2023-02-02 19:34:47 -07:00
build.rs Add rsconf build system and check for gettext symbols 2023-05-25 16:54:03 -05:00
Cargo.lock Add rsconf build system and check for gettext symbols 2023-05-25 16:54:03 -05:00
Cargo.toml Add rsconf build system and check for gettext symbols 2023-05-25 16:54:03 -05:00