Skip to content

Commit

Permalink
Fix build (#1142)
Browse files Browse the repository at this point in the history
<!-- 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 -->
  • Loading branch information
aaronvg authored Nov 4, 2024
1 parent 00c7ed8 commit 2439d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 2439d47

Please sign in to comment.