Skip to content

Commit 2439d47

Browse files
authored
Fix build (#1142)
<!-- ELLIPSIS_HIDDEN --> > [!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. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 2a1b373. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
1 parent 00c7ed8 commit 2439d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/.cargo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ rustflags = ["--cfg", "tracing_unstable"]
44

55
# https://github.com/rust-lang/cargo/issues/8607
66
[target.x86_64-unknown-linux-musl]
7-
rustflags = ["-C", "target-feature=-crt-static"]
7+
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]
88
[target.aarch64-unknown-linux-musl]
9-
rustflags = ["-C", "target-feature=-crt-static"]
9+
rustflags = ["-C", "target-feature=-crt-static", "--cfg", "tracing_unstable"]

0 commit comments

Comments
 (0)