Add missing file

This commit is contained in:
Konstantin Bogdanov 2024-12-16 01:10:37 +01:00
parent fc38bd13a6
commit 41385c5159
Signed by: thevar1able
GPG Key ID: DB399448D9FE52F1

View File

@ -0,0 +1,19 @@
if (COMPILER_CACHE STREQUAL "chcache")
configure_file(".cargo/config.toml.in" ".cargo/config.toml" @ONLY)
corrosion_import_crate(
MANIFEST_PATH Cargo.toml
PROFILE release
LOCKED
FLAGS --offline
)
corrosion_set_env_vars(
chcache
RUSTFLAGS=
RUST_CFLAGS=
RUST_CXXFLAGS=
CFLAGS=
CXXFLAGS=
)
corrosion_set_hostbuild(chcache)
endif()