Skip to content

Commit bdc005e

Browse files
committed
Cleanup
1 parent d68dbdc commit bdc005e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Diff for: .gitmodules

-3
This file was deleted.

Diff for: Cargo.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.3"
44
authors = ["Lukas Tobias Wirth <[email protected]>"]
55
edition = "2018"
66
description = "Rust bindings for wasm3"
7-
homepage = "https://github.com/Veykril/wasm3-rs"
8-
repository = "https://github.com/Veykril/wasm3-rs"
7+
homepage = "https://github.com/wasm3/wasm3-rs"
8+
repository = "https://github.com/wasm3/wasm3-rs"
99
license = "MIT"
1010
readme = "README.md"
1111
categories = ["api-bindings"]
@@ -20,6 +20,10 @@ use-32bit-slots = ["ffi/use-32bit-slots"]
2020

2121
build-bindgen = ["ffi/build-bindgen"]
2222

23+
[profile.release]
24+
opt-level = 3
25+
lto = true
26+
2327
[dependencies]
2428
cty = "0.2"
2529

Diff for: wasm3-sys/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.2"
44
authors = ["Lukas Tobias Wirth <[email protected]>"]
55
edition = "2018"
66
description = "Raw ffi bindings for wasm3"
7-
homepage = "https://github.com/veykril/wasm3-rs"
8-
repository = "https://github.com/veykril/wasm3-rs"
7+
homepage = "https://github.com/wasm3/wasm3-rs"
8+
repository = "https://github.com/wasm3/wasm3-rs"
99
categories = ["external-ffi-bindings"]
1010
build = "build.rs"
1111
license = "MIT"

Diff for: wasm3-sys/wasm3

-1
This file was deleted.

Diff for: wasm_bin_builder.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
path = argv[1];
1111
bin_name = basename(normpath(path))
1212
chdir(path)
13-
subprocess.run(["cargo", "build", "--target", "wasm32-unknown-unknown"]).check_returncode()
14-
copyfile("target/wasm32-unknown-unknown/debug/{}.wasm".format(bin_name), "{}.wasm".format(bin_name))
13+
subprocess.run(["cargo", "build", "--release", "--target", "wasm32-unknown-unknown"]).check_returncode()
14+
copyfile("target/wasm32-unknown-unknown/release/{}.wasm".format(bin_name), "{}.wasm".format(bin_name))
1515
chdir(old_wd)

0 commit comments

Comments
 (0)