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

Commit 5adc601

Browse files
pepyakinrphmeier
authored andcommitted
Minor fixes for nightly 2018-08-18 (#600)
* Don't use --export-table anymore Because it was turned on by default in the recent nightlies. See rust-lang/rust#53237 * use_extern_macros stabilization With recent nightlies rustc produces a warning ``` the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable ```
1 parent 895112c commit 5adc601

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

substrate/executor/wasm/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
RUSTFLAGS="-C link-arg=--export-table" cargo +nightly build --target=wasm32-unknown-unknown --release
4+
cargo +nightly build --target=wasm32-unknown-unknown --release
55
for i in test
66
do
77
wasm-gc target/wasm32-unknown-unknown/release/runtime_$i.wasm target/wasm32-unknown-unknown/release/runtime_$i.compact.wasm

substrate/runtime-std/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#![cfg_attr(not(feature = "std"), feature(panic_implementation))]
2222
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
2323
#![cfg_attr(not(feature = "std"), feature(alloc))]
24-
#![cfg_attr(not(feature = "std"), feature(use_extern_macros))]
2524

2625
#![cfg_attr(feature = "std", doc = "Polkadot runtime standard library as compiled when linked with Rust's standard library.")]
2726
#![cfg_attr(not(feature = "std"), doc = "Polkadot's runtime standard library as compiled without Rust's standard library.")]

0 commit comments

Comments
 (0)