Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wasm-builder): switch to new wasm32v1-none target #4407

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
1d541b3
chore: bump rust version to latest nightly
StackOverflowExcept1on Dec 14, 2024
5a16b0f
fix tests
StackOverflowExcept1on Dec 14, 2024
b290d72
switch to `wasm32v1-none` target
StackOverflowExcept1on Dec 14, 2024
d7ba5ea
temporarily switch to beta rust instead of stable
StackOverflowExcept1on Dec 14, 2024
f083676
fix anyhow features in utils/node-wrapper
StackOverflowExcept1on Dec 14, 2024
ee4490b
Merge remote-tracking branch 'origin/master' into av/rust
StackOverflowExcept1on Dec 15, 2024
0d73df0
remove TODOs
StackOverflowExcept1on Dec 16, 2024
c450f77
fix static_mut_refs warning with gcore::{static_mut, static_ref} macros
StackOverflowExcept1on Dec 16, 2024
83004c8
fix wait_state_machine test
StackOverflowExcept1on Dec 16, 2024
0af7df8
fix semver in utils/crates-io
StackOverflowExcept1on Dec 16, 2024
c05cf17
switch to rust 2024 edition
StackOverflowExcept1on Dec 16, 2024
f39eb7b
fix fmt
StackOverflowExcept1on Dec 16, 2024
76004be
Merge remote-tracking branch 'origin/master' into av/rust
StackOverflowExcept1on Dec 16, 2024
ebe30af
link_section -> unsafe(link_section)
StackOverflowExcept1on Dec 16, 2024
0e51b62
2021 -> 2024
StackOverflowExcept1on Dec 16, 2024
d67b957
update cagro_metadata and cargo_toml
StackOverflowExcept1on Dec 16, 2024
b54e2d5
fix gear-wasm-builder
StackOverflowExcept1on Dec 16, 2024
8e39e90
idk how to fix it rn
StackOverflowExcept1on Dec 16, 2024
3559052
beta -> nightly-2024-12-14 (temp)
StackOverflowExcept1on Dec 16, 2024
733c263
temp ignore doc tests
StackOverflowExcept1on Dec 17, 2024
01d5a97
fix test in gmeta
StackOverflowExcept1on Dec 17, 2024
d3d4ddb
Revert "2021 -> 2024"
StackOverflowExcept1on Dec 17, 2024
e2157e8
switch back to 2021 edition and rollback fmt
StackOverflowExcept1on Dec 17, 2024
f08d3ca
revert gtest and gmeta fixes
StackOverflowExcept1on Dec 17, 2024
88d28b4
Revert "beta -> nightly-2024-12-14 (temp)"
StackOverflowExcept1on Dec 17, 2024
e1f02b7
Revert "temporarily switch to beta rust instead of stable"
StackOverflowExcept1on Dec 17, 2024
34b5f0f
back to wasm32-unknown-unknown target, set rust-version to 1.82
StackOverflowExcept1on Dec 17, 2024
e771d97
missed this
StackOverflowExcept1on Dec 17, 2024
2bf4edf
use match *self instead of &mut Self::Pattern
StackOverflowExcept1on Dec 17, 2024
52d9fa3
bump to nightly-2024-12-17
StackOverflowExcept1on Dec 17, 2024
3758f22
switch to beta
StackOverflowExcept1on Dec 18, 2024
e97f103
place wasms in ./target/profile/wasms/
StackOverflowExcept1on Dec 18, 2024
392e5e3
switch to wasm32v1-none target
StackOverflowExcept1on Dec 18, 2024
a9cfba5
run CI on this branch
StackOverflowExcept1on Dec 18, 2024
a905cb4
fix clippy
StackOverflowExcept1on Dec 18, 2024
cda0ed7
wasm-builder should copy wasm32v1-none target
StackOverflowExcept1on Dec 18, 2024
65b27b8
Merge remote-tracking branch 'origin/master' into av/rust
StackOverflowExcept1on Dec 26, 2024
9d1b0b0
bump to nightly-2024-12-26
StackOverflowExcept1on Dec 26, 2024
c2a1fbb
Merge branch 'av/rust' into av/wasm32v1-target
StackOverflowExcept1on Dec 26, 2024
1e01109
bump to nightly-2025-01-01
StackOverflowExcept1on Jan 1, 2025
b55865a
Merge remote-tracking branch 'origin/master' into av/rust
StackOverflowExcept1on Jan 1, 2025
77cbc84
fix fmt
StackOverflowExcept1on Jan 1, 2025
b98037d
Merge branch 'av/rust' into av/wasm32v1-target
StackOverflowExcept1on Jan 4, 2025
0f3960b
remove wasm32-unknown-unknown
StackOverflowExcept1on Jan 4, 2025
b5158a3
fix target_os = unknown
StackOverflowExcept1on Jan 4, 2025
dc7f4d0
use substrate-wasm-builder from git
StackOverflowExcept1on Jan 4, 2025
7886ad3
completely remove wasm32-unknown-unknown
StackOverflowExcept1on Jan 4, 2025
5decc0b
Merge remote-tracking branch 'origin/master' into av/rust
StackOverflowExcept1on Jan 9, 2025
c96c6c7
bump rust to 2025-01-09
StackOverflowExcept1on Jan 9, 2025
7d1b3a1
fix Cargo.lock
StackOverflowExcept1on Jan 9, 2025
83325b1
Merge branch 'av/rust' into av/wasm32v1-target
StackOverflowExcept1on Jan 9, 2025
4589157
Revert "switch to beta"
StackOverflowExcept1on Jan 9, 2025
64f382b
fix target
StackOverflowExcept1on Jan 9, 2025
bf990ed
Merge remote-tracking branch 'origin/master' into av/rust
StackOverflowExcept1on Jan 11, 2025
c1690aa
Merge branch 'av/rust' into av/wasm32v1-target
StackOverflowExcept1on Jan 11, 2025
b7df200
Merge remote-tracking branch 'origin/master' into av/rust
StackOverflowExcept1on Jan 11, 2025
d87e46b
replace dead_code with unused
StackOverflowExcept1on Jan 11, 2025
a8dd356
Merge branch 'av/rust' into av/wasm32v1-target
StackOverflowExcept1on Jan 11, 2025
2040b8f
resolve conversations
StackOverflowExcept1on Jan 11, 2025
e0f35e4
Merge remote-tracking branch 'origin/master' into av/wasm32v1-target
StackOverflowExcept1on Jan 11, 2025
edfe8e4
remove patches and commented deps
StackOverflowExcept1on Jan 14, 2025
1e42ac6
gear-wasm virtual target
StackOverflowExcept1on Jan 14, 2025
c8460a3
Merge remote-tracking branch 'origin/master' into av/wasm32v1-target
StackOverflowExcept1on Jan 14, 2025
0f56df0
fix clippy
StackOverflowExcept1on Jan 14, 2025
521b274
gear-wasm -> wasm32-gear
StackOverflowExcept1on Jan 14, 2025
539fd6d
temp ignore demo-fungible-token test
StackOverflowExcept1on Jan 17, 2025
7e76522
fix wrong path
StackOverflowExcept1on Jan 17, 2025
4aa7586
Merge remote-tracking branch 'origin/master' into av/wasm32v1-target
StackOverflowExcept1on Jan 17, 2025
d28e982
Merge remote-tracking branch 'origin/master' into av/wasm32v1-target
StackOverflowExcept1on Jan 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
if: ${{ inputs.production && matrix.profiles.name == 'release' }}
run: |
mkdir -p artifact
tar czvf artifact/examples.tar.gz target/wasm32-unknown-unknown/release/*.wasm
tar czvf artifact/examples.tar.gz target/wasm32-gear/release/*.wasm
cp target/production/wbuild/vara-runtime/vara_runtime.compact.compressed.wasm artifact/
cp target/production/wbuild/vara-runtime/vara_runtime.compact.wasm artifact/
cp target/production/wbuild/vara-runtime/vara_runtime.wasm artifact/
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,13 @@ jobs:
- name: "Install: Rust stable toolchain"
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
components: llvm-tools, rust-src
targets: wasm32v1-none

- name: "Check: Compiling gstd on stable"
run: |
cargo +stable check -p gstd --target wasm32-unknown-unknown
cargo +stable check -p gstd --target wasm32v1-none
cargo +stable check --manifest-path utils/wasm-builder/test-program/Cargo.toml
cargo +stable check --manifest-path utils/cargo-gbuild/test-program/Cargo.toml --workspace --target wasm32-unknown-unknown
cargo +stable check --manifest-path utils/cargo-gbuild/test-program/Cargo.toml --workspace --target wasm32v1-none

- name: "Check: crates-io packages publishing"
run: cargo +stable run --release -p crates-io publish --simulate --registry-path /tmp/cargo-http-registry
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/crates-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
- name: "Install: Rust stable toolchain"
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
components: llvm-tools, rust-src
targets: wasm32v1-none

- name: "Publish packages (simulate)"
if: ${{ !inputs.publish }}
Expand Down
Loading
Loading