Skip to content

Commit

Permalink
Use the same rust-toolchain for all Rust sub-projects (#7200)
Browse files Browse the repository at this point in the history
close #7198
  • Loading branch information
breezewish authored Mar 31, 2023
1 parent 5940685 commit 7821664
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/tiflash-proxy-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ add_custom_command(OUTPUT ${_TIFLASH_PROXY_LIBRARY}
WORKING_DIRECTORY ${_TIFLASH_PROXY_SOURCE_DIR}
DEPENDS "${_TIFLASH_PROXY_SRCS}"
"${_TIFLASH_PROXY_SOURCE_DIR}/Cargo.lock"
"${_TIFLASH_PROXY_SOURCE_DIR}/rust-toolchain")
"${TiFlash_SOURCE_DIR}/rust-toolchain")

add_custom_target(tiflash_proxy ALL DEPENDS ${_TIFLASH_PROXY_LIBRARY})
add_library(libtiflash_proxy SHARED IMPORTED GLOBAL)
Expand Down
2 changes: 1 addition & 1 deletion libs/libsymbolization/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ add_custom_command(OUTPUT ${_SYMBOLIZATION_LIBRARY}
"${_SYMBOLIZATION_HEADERS}"
"${_SYMBOLIZATION_SOURCE_DIR}/Cargo.lock"
"${_SYMBOLIZATION_SOURCE_DIR}/Cargo.toml"
"${_SYMBOLIZATION_SOURCE_DIR}/rust-toolchain")
"${TiFlash_SOURCE_DIR}/rust-toolchain")

add_custom_target(symbolization ALL DEPENDS ${_SYMBOLIZATION_LIBRARY})
add_library(libsymbolization STATIC IMPORTED GLOBAL)
Expand Down
1 change: 0 additions & 1 deletion libs/libsymbolization/rust-toolchain

This file was deleted.

1 change: 1 addition & 0 deletions rust-toolchain

0 comments on commit 7821664

Please sign in to comment.