Skip to content

Commit

Permalink
chore: wasm32-unknown-unknown target by default
Browse files Browse the repository at this point in the history
  • Loading branch information
zetanumbers committed Jan 14, 2022
1 parent a0f0eb4 commit aaf45b2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[alias]
cart-build = "build --target wasm32-unknown-unknown --profile cartridge"
cart-run = "run --target wasm32-unknown-unknown --profile cartridge"
cart-doc = "doc --target wasm32-unknown-unknown --profile cartridge"
cart-build = "build --profile cartridge"
cart-run = "run --profile cartridge"
cart-doc = "doc --profile cartridge"

cb = "cart-build"
cr = "cart-run"
cd = "cart-doc"

[build]
target = "wasm32-unknown-unknown"

[profile.cartridge]
inherits = "release"
opt-level = "z"
Expand Down

0 comments on commit aaf45b2

Please sign in to comment.