Skip to content

Commit

Permalink
Set the capi.library.rustflags
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed May 13, 2021
1 parent f83563e commit 73fb583
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example-project/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ inline-c = "0.1"

[package.metadata.capi.header]
subdirectory = false

[package.metadata.capi.library]
rustflags = "-Cpanic=abort"

0 comments on commit 73fb583

Please sign in to comment.