Unverified Commit 9dd4f47d authored by Andrew Jones's avatar Andrew Jones Committed by GitHub
Browse files

[examples] fix up examples for new `cargo-contract` with `xbuild` (#320)

* [examples] individual link-args for xargo build

* Add xbuild config to examples

* Run delegator script as nightly

* Enable rlib for flipper

* examples: remove cargo config files

* examples: remove xbuild config
parent 8bc75a5c
Pipeline #80607 passed with stages
in 16 minutes and 57 seconds
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
#!/usr/bin/env bash
pushd accumulator && cargo contract build && popd &&
pushd adder && cargo contract build && popd &&
pushd subber && cargo contract build && popd &&
cargo contract build
pushd accumulator && cargo +nightly contract build && popd &&
pushd adder && cargo +nightly contract build && popd &&
pushd subber && cargo +nightly contract build && popd &&
cargo +nightly contract build
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-args=-z stack-size=65536 --import-memory"
]
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment