Switch to wasm-builder 3.0.0 (#2004)

* Switch to wasm-builder 3.0.0

* Fix deterministic wasm build check
This commit is contained in:
Bastian Köcher
2020-11-24 13:31:32 +01:00
committed by GitHub
parent 698de0b4fa
commit 0186ba8daf
16 changed files with 133 additions and 40 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ separator = "0.4.1"
serde_json = "1.0.59"
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "2.0.0" }
substrate-wasm-builder = "3.0.0"
[features]
default = ["std"]
+1 -2
View File
@@ -14,12 +14,11 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use wasm_builder_runner::WasmBuilder;
use substrate_wasm_builder::WasmBuilder;
fn main() {
WasmBuilder::new()
.with_current_project()
.with_wasm_builder_from_crates("2.0.1")
.import_memory()
.export_heap_base()
.build()