Skip to content

Commit

Permalink
New files
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Mar 3, 2024
1 parent 03dbbcf commit 981ebe5
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/rust/rust-hello-tests/app/Cargo.toml._
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[package]
name = "app"
version = "0.1.0"
edition = "2021"

[dependencies]
lib = { path = "../lib" }
8 changes: 8 additions & 0 deletions examples/rust/rust-hello-tests/lib/Cargo.toml._
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "lib"
version = "0.1.0"
edition = "2021"

[dependencies]

[dev-dependencies]
21 changes: 21 additions & 0 deletions examples/rust/rust-hello-tests/wasm/Cargo.toml._
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[package]
name = "wasm"
version = "0.1.0"
edition = "2021"

[lib]
path = "src/lib.rs"
crate-type = ["cdylib"]

[profile.release]
lto = true
opt-level = 's'

[package.metadata.component.target]
path = "wit"

[package.metadata.component.target.dependencies]

[dependencies]
lib = { path = "../lib" }
wit-bindgen = { version = "0.17.0", default-features = false, features = ["realloc"] }

0 comments on commit 981ebe5

Please sign in to comment.