Commit a5ab8633 authored by Hero Bird's avatar Hero Bird Committed by Andrew Jones

move overflow-checks from .cargo/config to Cargo.toml (#158)

parent 49f221bd
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
......@@ -36,3 +36,4 @@ generate-api-description = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
......@@ -27,3 +27,4 @@ test-env = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
\ No newline at end of file
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
......@@ -39,4 +39,5 @@ generate-api-description = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
# debug = true
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
......@@ -29,3 +29,4 @@ generate-api-description = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
......@@ -29,3 +29,4 @@ generate-api-description = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
......@@ -29,3 +29,4 @@ generate-api-description = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
......@@ -29,3 +29,4 @@ generate-api-description = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "overflow-checks=on",
"-C", "link-args=-z stack-size=65536 --import-memory"
]
......@@ -30,3 +30,4 @@ test-env = [
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment