mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
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 https://github.com/rust-lang/rust/pull/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 ```
This commit is contained in:
committed by
Robert Habermeier
parent
d965e8f08e
commit
969fcfb97f
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
RUSTFLAGS="-C link-arg=--export-table" cargo +nightly build --target=wasm32-unknown-unknown --release
|
||||
cargo +nightly build --target=wasm32-unknown-unknown --release
|
||||
for i in test
|
||||
do
|
||||
wasm-gc target/wasm32-unknown-unknown/release/runtime_$i.wasm target/wasm32-unknown-unknown/release/runtime_$i.compact.wasm
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#![cfg_attr(not(feature = "std"), feature(panic_implementation))]
|
||||
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
|
||||
#![cfg_attr(not(feature = "std"), feature(alloc))]
|
||||
#![cfg_attr(not(feature = "std"), feature(use_extern_macros))]
|
||||
|
||||
#![cfg_attr(feature = "std", doc = "Polkadot runtime standard library as compiled when linked with Rust's standard library.")]
|
||||
#![cfg_attr(not(feature = "std"), doc = "Polkadot's runtime standard library as compiled without Rust's standard library.")]
|
||||
|
||||
Reference in New Issue
Block a user