From 2439d47f22b04d2b0e11d28bf5e7d8fe1de977b7 Mon Sep 17 00:00:00 2001 From: aaronvg Date: Mon, 4 Nov 2024 09:51:47 -0800 Subject: [PATCH] Fix build (#1142) > [!IMPORTANT] > Add `--cfg tracing_unstable` to `rustflags` for specific targets in `engine/.cargo/config.toml`. > > - **Build Configuration**: > - Add `--cfg tracing_unstable` to `rustflags` for `x86_64-unknown-linux-musl` and `aarch64-unknown-linux-musl` targets in `engine/.cargo/config.toml` to enable unstable tracing features. > > This description was created by [Ellipsis](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral) for 2a1b373c1144e69778fe840adb2ef8418b13ed80. It will automatically update as commits are pushed. --- engine/.cargo/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/.cargo/config.toml b/engine/.cargo/config.toml index 0d46d27db..6533a3f23 100644 --- a/engine/.cargo/config.toml +++ b/engine/.cargo/config.toml @@ -4,6 +4,6 @@ rustflags = ["--cfg", "tracing_unstable"] # https://github.com/rust-lang/cargo/issues/8607 [target.x86_64-unknown-linux-musl] -rustflags = ["-C", "target-feature=-crt-static"] +rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"] [target.aarch64-unknown-linux-musl] -rustflags = ["-C", "target-feature=-crt-static"] +rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]