From cc2a0d46c54a6dc6d2d3d5859b41df1d3a1782b4 Mon Sep 17 00:00:00 2001 From: 0o-de-lally <1364012+0o-de-lally@users.noreply.github.com> Date: Sat, 14 Oct 2023 18:28:22 +0000 Subject: [PATCH] move [env] to config.toml --- .cargo/config.toml | 5 +++++ Cargo.toml | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index a693f2994..b8a5253cc 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,8 @@ +[env] +# set coin name for diem dependencies +RUST_DIEM_COIN_MODULE = "gas_coin" +RUST_DIEM_COIN_NAME = "LibraCoin" + [target.'cfg(target_os = "linux")'] # Dramatically increases the link performance for the eventbus rustflags = ["-C", "link-arg=-fuse-ld=lld"] # sudo apt -y install lld diff --git a/Cargo.toml b/Cargo.toml index 9f977f870..e00378ae2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -347,8 +347,3 @@ incremental = true # # This will be removed once our pull requests land. [patch.crates-io] serde-reflection = { git = "https://github.com/aptos-labs/serde-reflection", rev = "839aed62a20ddccf043c08961cfe74875741ccba" } - -[env] -# set coin name for diem dependencies -RUST_DIEM_COIN_MODULE = "gas_coin" -RUST_DIEM_COIN_NAME = "LibraCoin" \ No newline at end of file