Skip to content

Commit

Permalink
fix(api,c-api,vm) Move .cargo/config to Cargo.tomls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jul 16, 2021
1 parent 6fd5004 commit 5756731
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .cargo/config.toml

This file was deleted.

5 changes: 5 additions & 0 deletions lib/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ anyhow = "1.0"
[badges]
maintenance = { status = "actively-developed" }

[target.'cfg(target_os = "linux")']
rustflags = [
"-C", "link-arg=-Wl,-E"
]

[features]
default = ["wat", "default-cranelift", "default-universal"]
compiler = [
Expand Down
5 changes: 5 additions & 0 deletions lib/c-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ paste = "1.0"
field-offset = "0.3.3"
inline-c = "0.1.5"

[target.'cfg(target_os = "linux")']
rustflags = [
"-C", "link-arg=-Wl,-E"
]

[features]
default = [
"wat",
Expand Down
5 changes: 5 additions & 0 deletions lib/vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ cc = "1.0"
[badges]
maintenance = { status = "actively-developed" }

[target.'cfg(target_os = "linux")']
rustflags = [
"-C", "link-arg=-Wl,-E"
]

[features]
default = []
enable-rkyv = ["rkyv"]

0 comments on commit 5756731

Please sign in to comment.