Skip to content

Commit

Permalink
refactor(rust-complex): do not use nightly
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Jul 19, 2023
1 parent 174765c commit 472f1dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/rust-complex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ foo = { workspace = true, features = ["windows"] }
rust-complex = { path = "." }

[workspace.dependencies]
foo = { path = "./foo", target = "wasm32-unknown-unknown", artifact = ["cdylib", "bin", "staticlib"] }
foo = { path = "./foo" }
ring = { version = "0.16.20", features = ["wasm32_c"] }
2 changes: 1 addition & 1 deletion examples/rust-complex/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly"
channel = "beta"
targets = [
"wasm32-unknown-unknown"
]
2 changes: 1 addition & 1 deletion examples/rust-complex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
use ring::*;

fn main() {
println!(env!("CARGO_CDYLIB_FILE_FOO"));
println!("hello");
}

0 comments on commit 472f1dd

Please sign in to comment.