Files
fish-shell/cmake
Fabian Boehm 574a8728af cmake: Stop setting RUSTFLAGS
This appends "-g" to RUSTFLAGS if the cmake build type is debug or
RelWithDebInfo.

However, these are already mapped to cargo profiles that enable these
things, see https://doc.rust-lang.org/cargo/reference/profiles.html:

> The debug setting controls the -C debuginfo flag which controls the
amount of debug information included in the compiled binary.

(`rustc -g` is equivalent to `debuginfo=2`)

By setting $RUSTFLAGS in cmake, we bake it into the generated
makefile (/ninja thing), which is surprising.

See #12165
2025-12-16 16:52:25 +01:00
..
2025-03-30 19:47:09 +02:00
2025-09-12 11:42:59 +02:00
2024-10-05 20:22:55 -07:00
2025-12-16 16:52:25 +01:00
2025-12-10 16:15:41 +01:00