mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
cmake: remove unnecessary dir nesting
The `cargo` directory in the CMake build directory is only used to store Cargo's build output, as would be done by `target` when building without CMake. But instead of putting the build output directly into the `cargo` directory, a nested `build` directory was used. There is no point in this nesting, so remove it. Closes #12352
This commit is contained in:
committed by
Johannes Altmanninger
parent
f407ca18a4
commit
03894fea3c
@@ -2,7 +2,7 @@ include(FeatureSummary)
|
||||
include(FindRust)
|
||||
find_package(Rust REQUIRED)
|
||||
|
||||
set(FISH_RUST_BUILD_DIR "${CMAKE_BINARY_DIR}/cargo/build")
|
||||
set(FISH_RUST_BUILD_DIR "${CMAKE_BINARY_DIR}/cargo")
|
||||
|
||||
if(DEFINED ASAN)
|
||||
list(APPEND CARGO_FLAGS "-Z" "build-std")
|
||||
|
||||
Reference in New Issue
Block a user