Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Upgrade wasm builder (#10226)
Browse files Browse the repository at this point in the history
* add TypeInfo for DispatchTime

* upgrade wasm-builder to Rust 2021

* remove resolver

* revert resolver in virtual workspace
  • Loading branch information
zjb0807 authored Nov 10, 2021
1 parent 5fe5974 commit 1a66311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion utils/wasm-builder/src/prerequisites.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fn create_check_toolchain_project(project_dir: &Path) {
[package]
name = "wasm-test"
version = "1.0.0"
edition = "2018"
edition = "2021"
build = "build.rs"
[lib]
Expand Down
3 changes: 1 addition & 2 deletions utils/wasm-builder/src/wasm_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ fn create_project_cargo_toml(
let mut package = Table::new();
package.insert("name".into(), format!("{}-wasm", crate_name).into());
package.insert("version".into(), "1.0.0".into());
package.insert("edition".into(), "2018".into());
package.insert("resolver".into(), "2".into());
package.insert("edition".into(), "2021".into());

wasm_workspace_toml.insert("package".into(), package.into());

Expand Down

0 comments on commit 1a66311

Please sign in to comment.