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

Adopt v4.2.8 #7

Open
wants to merge 710 commits into
base: stylus
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
710 commits
Select commit Hold shift + click to select a range
4085e73
try to build the package before publishing it
maminrayej Jan 31, 2024
8557b3a
gate the use statement
maminrayej Jan 31, 2024
fe1d184
Merge pull request #4427 from wasmerio/fix-deprecation-warnings
syrusakbary Feb 1, 2024
7349e1c
Merge pull request #4428 from wasmerio/build-before-publish
syrusakbary Feb 1, 2024
c7218c9
Return Notsup for absolute symlinks instead of panicking
boomshroom Feb 1, 2024
2197bb0
fix(deps): Downgrade accidentally upgraded hyper-tungstenite
theduke Jan 31, 2024
988ac19
deps: Upgrade object to 0.32
theduke Jan 31, 2024
0eec9ef
deps: Update Cargo.lock
theduke Jan 31, 2024
004174f
Merge branch 'master' into bugs/yazan/FFMPEG.NativeCallSeqGen
syrusakbary Feb 1, 2024
f52e71c
Apply suggestions from code review
syrusakbary Feb 1, 2024
42aca38
Fix linting
syrusakbary Feb 1, 2024
ed81756
Merge pull request #4338 from yazandaba/bugs/yazan/FFMPEG.NativeCallS…
syrusakbary Feb 1, 2024
de9177f
Try to use m1 macos
syrusakbary Feb 2, 2024
6066f9f
Added m1 testing
syrusakbary Feb 2, 2024
17be193
Fixed the loading of mounted file systems with static web servers
john-sharratt Feb 5, 2024
28b9519
Fixed a bug where journals that have incomplete write operations no l…
john-sharratt Feb 5, 2024
00ac9fa
Fixed an issue with the file system transversal on mounting file systems
john-sharratt Feb 5, 2024
b3dca80
Fixed an issue where a terminating instance does not abort the connec…
john-sharratt Feb 5, 2024
45d9809
DProxy now correctly snapshots threads to the journal
john-sharratt Feb 6, 2024
a467536
The system now snapshots when a workload goes idle
john-sharratt Feb 6, 2024
71000db
Optimized the memory snapshots to reduce wastage
john-sharratt Feb 6, 2024
ef68aa1
add log streams
maminrayej Feb 6, 2024
34fbfe9
increase pagination size
maminrayej Feb 6, 2024
6950503
remove old comment
maminrayej Feb 6, 2024
3b2ec3a
The memory snapshot functionality is now much faster using region com…
john-sharratt Feb 6, 2024
967b83a
Added a todo on using dirty pages to optimize the hashing time when s…
john-sharratt Feb 6, 2024
f3f38df
Merge pull request #4441 from wasmerio/increase-pagination-size-for-logs
syrusakbary Feb 7, 2024
ebfd642
Fix WasmRef docs
chipshort Feb 7, 2024
36abb81
Fixed the remote sockets
john-sharratt Feb 7, 2024
aa64c36
Fixed the writing of the memory hashes to the bitmap
john-sharratt Feb 7, 2024
e2745d8
Update Rust toolchain to 1.73
syrusakbary Feb 2, 2024
8608ee6
Fix one formatting issue
syrusakbary Feb 2, 2024
573cc0a
Fix RISC-V crosscompilation
syrusakbary Feb 2, 2024
e2cd9a9
Fixed all linting errors
syrusakbary Feb 2, 2024
cbebf78
Fixed toshared
syrusakbary Feb 2, 2024
83bb209
Increased artifact version
syrusakbary Feb 5, 2024
fc3a2f7
Fix docs building
syrusakbary Feb 5, 2024
3ac237a
Fixed linting
syrusakbary Feb 6, 2024
19138bd
Trying to fix CI
syrusakbary Feb 6, 2024
9618618
Fix build docs
syrusakbary Feb 7, 2024
088196a
feat(backend-api): Add get_app_by_id_opt
theduke Feb 7, 2024
bcebad4
Merge pull request #4434 from wasmerio/update-rust-toolchain
syrusakbary Feb 7, 2024
323d7de
Merge pull request #4444 from chipshort/fix-wasm-ref-docs
syrusakbary Feb 7, 2024
c2802a8
Trying to fix CI
syrusakbary Feb 7, 2024
d009352
Fix rustup override for headless api
syrusakbary Feb 7, 2024
d93a2fd
Added extra data for the threads so they can be more easily recreated
john-sharratt Feb 8, 2024
3eeb86f
Added the functionality that spawns threads
john-sharratt Feb 8, 2024
c187126
Now spawning the sub threads correctly on journal resume
john-sharratt Feb 8, 2024
da21864
Fixed an issue where the main thread was not rewinding properly
john-sharratt Feb 8, 2024
f2dfd5c
Fixed an issue where the threads were not properly rewinding on journals
john-sharratt Feb 8, 2024
354e38c
Failed WASM processes now properly terminate running connections
john-sharratt Feb 8, 2024
d7255c4
Fixed the thread resuming however there is now a tokio runtime problem
john-sharratt Feb 8, 2024
a32aae2
add wasi-fyi tests and run them in CI
maminrayej Feb 10, 2024
5aba707
Update README.md
syrusakbary Feb 12, 2024
d034c50
Resolved merge conflicts
john-sharratt Feb 13, 2024
07bb52d
get streams as list of options
maminrayej Feb 13, 2024
bc0b466
fix lint
maminrayej Feb 13, 2024
7f91ded
add pagination to all queries
maminrayej Feb 15, 2024
614f11e
Use m1 runner
syrusakbary Feb 15, 2024
1ba5924
Disable artifact deserialization in non x86-64 for now
syrusakbary Feb 15, 2024
30f076f
add paging mode
maminrayej Feb 19, 2024
4d439f1
port wasi-wast tests to wasi-fyi
maminrayej Feb 19, 2024
d3f02cb
Merge pull request #4435 from wasmerio/github-m1
syrusakbary Feb 20, 2024
f765134
mount wasi-fyi fs related directories
maminrayej Feb 20, 2024
c41b001
fix env test
maminrayej Feb 20, 2024
dc5ec20
fix lint
maminrayej Feb 20, 2024
91a7383
fix logic error in indexing
maminrayej Feb 13, 2024
83d39de
use drain instead of slice index
maminrayej Feb 19, 2024
1fcf56b
Journal now properly cleans up when a snapshot is missing
john-sharratt Feb 20, 2024
8dd5464
Merge pull request #4452 from wasmerio/fix-app-log-error
syrusakbary Feb 21, 2024
98b23e5
Merge pull request #4454 from wasmerio/add-pagination-to-app-list
syrusakbary Feb 21, 2024
3c715f0
skips failing tests
maminrayej Feb 21, 2024
5a2ae84
Merge branch 'master' into add-log-streams-options
maminrayej Feb 21, 2024
6216634
Fixed the final pieces for a single threaded dproxy
john-sharratt Feb 22, 2024
2cbfb91
Merge remote-tracking branch 'origin/master' into dproxy
john-sharratt Feb 22, 2024
c19b034
use nightly toolchain for wasi-fyi
maminrayej Feb 22, 2024
98ba5f0
add wasi target for wasi-fyi tests
maminrayej Feb 22, 2024
bbdc64e
fix missing wasmer binary
maminrayej Feb 22, 2024
be3ea4f
Merge pull request #4440 from wasmerio/add-log-streams-options
syrusakbary Feb 22, 2024
7812d60
Merge pull request #4448 from wasmerio/add-wasi-fyi-tests
syrusakbary Feb 23, 2024
0f80d24
tests: Disable flaky network tests on MUSL
theduke Feb 20, 2024
bc42317
chore: Fix warning
theduke Feb 20, 2024
8eb7ab3
build: Add alpine setup helper script + add pkgconfig
theduke Feb 20, 2024
ae0d33a
fix(ci): Prevent need for ssl and crypto libs by using rustls-tls
theduke Feb 25, 2024
7869644
fix(cli): Add missing output in "app get" command
theduke Feb 21, 2024
2643389
fix(cli): Fix output of "app info" command
theduke Feb 21, 2024
de2606d
Correctly connected up the signal process for the ctrl-c key
john-sharratt Feb 25, 2024
f356299
feat(backend-api): Add download_url to PackageDistribution
theduke Feb 20, 2024
bb430fe
Now taking snapshots on signal events however its not waking properly…
john-sharratt Feb 25, 2024
7af0509
chore: Remove wasix-http-client
theduke Feb 25, 2024
0ab7693
chore: Remove WAI codegen from wasmer-wasix-types
theduke Feb 25, 2024
8c34c6c
docs: Update REAMDE for wasmer-wasix-types
theduke Feb 25, 2024
68fedb8
Fixed an issue where ctrl-c was not triggering during deep threading …
john-sharratt Feb 25, 2024
3757754
Renaming some of the spawn functions to make them easier to understand
john-sharratt Feb 25, 2024
f68f58d
Renamed the journal syscall player
john-sharratt Feb 25, 2024
bd95ef3
Added another struct for RemoteSocket to make it simplier
john-sharratt Feb 25, 2024
9b38ee5
Added a comment on one of the apply thread methods
john-sharratt Feb 25, 2024
049f505
Added comments on VIRUTAL_FD_ROOT
john-sharratt Feb 25, 2024
2184922
Missed one
john-sharratt Feb 25, 2024
bc520d4
Added additional comments
john-sharratt Feb 25, 2024
09672e9
Fixed a whole bunch of linting errors
john-sharratt Feb 25, 2024
d064818
Fixed some compile issues for JS
john-sharratt Feb 26, 2024
192f3e8
Merge remote-tracking branch 'origin/master' into dproxy
john-sharratt Feb 26, 2024
573b342
Linting fix
john-sharratt Feb 26, 2024
502957f
More minor linting fixes
john-sharratt Feb 26, 2024
0b04236
Removed fuse as a default dependency as it does not work on all platf…
john-sharratt Feb 26, 2024
51e2e75
More linting fixes
john-sharratt Feb 26, 2024
fc85d90
More linting fixes
john-sharratt Feb 26, 2024
62b7c72
Fixed some unit tests
john-sharratt Feb 26, 2024
0a6abfd
Fixed some unit tests
john-sharratt Feb 26, 2024
329f972
Fixed one of the lints that was missed
john-sharratt Feb 26, 2024
de476a6
Linting and unit test fixes
john-sharratt Feb 26, 2024
46914b9
Fixed multithreading for journals
john-sharratt Feb 26, 2024
f0290c8
Fixed yet another linting issue
john-sharratt Feb 26, 2024
125ffcf
fix(cli): Fix auto-package version bumping in 'wasmer deploy'
theduke Feb 25, 2024
0964767
Merge pull request #4467 from wasmerio/issue-4464-fix-cli-wasmer-depl…
maminrayej Feb 27, 2024
887e386
Merge branch 'master' into dproxy
john-sharratt Feb 27, 2024
2b56441
Merge pull request #4466 from wasmerio/wai-cleanup
syrusakbary Feb 27, 2024
1ee2392
Merge branch 'master' into dproxy
john-sharratt Feb 27, 2024
028a5a8
Exposing WASIX method so that it can be consumed by custom task managers
john-sharratt Feb 27, 2024
7d80149
chore: Remove wasi-experimental-io-devices
theduke Feb 28, 2024
df79e8d
Merge pull request #4471 from wasmerio/remove-experimental-io
syrusakbary Feb 28, 2024
c389b88
feat(cli): "wasmer deploy": return app version as json if --json spec…
theduke Feb 28, 2024
6ff2f3c
chore: Completely remove wasix_http_client
theduke Feb 29, 2024
f4faeb7
Update CHANGELOG
Arshia001 Mar 3, 2024
209968b
Release 4.2.6
Arshia001 Mar 3, 2024
ec7dd46
Update changelog
Arshia001 Mar 3, 2024
03ca2dc
Update 0.x package versions
Arshia001 Mar 3, 2024
552f6ed
Revert to using older clap, normpath version that works with rustc 1.73
Arshia001 Mar 3, 2024
f295481
Merge pull request #4474 from wasmerio/release-4.2.6
Arshia001 Mar 3, 2024
adab70e
fix: fix feature = "cargo-clippy" deprecation
rex4539 Feb 28, 2024
510b204
Merge pull request #4473 from rex4539/clippy
syrusakbary Mar 5, 2024
b7f156d
Merge branch 'master' into wasix-http-client-remove-full
syrusakbary Mar 5, 2024
7084280
Merge pull request #4470 from wasmerio/wasix-http-client-remove-full
syrusakbary Mar 5, 2024
6817304
Cleaned up the merge
john-sharratt Mar 11, 2024
03678c9
Merge branch 'master' into dproxy
john-sharratt Mar 11, 2024
daab4aa
Lint fixes
john-sharratt Mar 11, 2024
53065d1
Merge branch 'master' into tainting
john-sharratt Mar 11, 2024
3713f1c
Implemented an exponential CPU backoff that kicks in when a run token…
john-sharratt Feb 15, 2024
3b0b8f4
Renamed some fields
john-sharratt Feb 15, 2024
349eb77
Added a cooloff period before the CPU backoff kicks in
john-sharratt Feb 16, 2024
f01f4d2
Fixed a linting issue
john-sharratt Feb 16, 2024
060276a
Added some debugging
john-sharratt Feb 18, 2024
0917c3c
Fixed the trace messaging
john-sharratt Feb 18, 2024
48c7ed2
Added debug info to CpuRunTokens
john-sharratt Feb 18, 2024
ebcdc7c
Implemented changes as per comments in PR
john-sharratt Mar 11, 2024
23e410e
Linting fix
john-sharratt Mar 11, 2024
cbedc60
chore: Remove leftover dbg!()
theduke Mar 7, 2024
4b57317
chore(backend-api): Add size to PackageDistribution
theduke Mar 7, 2024
9ddbb2a
Merge branch 'master' into tainting
theduke Mar 12, 2024
7d2226f
Merge pull request #4220 from wasmerio/tainting
theduke Mar 12, 2024
4ca51f9
Merge branch 'master' into fix-for-blocking-runtime
theduke Mar 12, 2024
04ad072
Merge pull request #4335 from wasmerio/fix-for-blocking-runtime
theduke Mar 12, 2024
7bf6e46
Fix for a panic in the sock_recv when a file handle is missing
john-sharratt Mar 14, 2024
b17ce9a
Merge pull request #4490 from wasmerio/fix-for-panic
john-sharratt Mar 15, 2024
fe820b4
No longer restoring the thread local memory when we longjmp
john-sharratt Mar 18, 2024
707ffa2
feat(backend-api): Add DnsRecord types and queries
theduke Mar 12, 2024
0a05e5e
scafolding for domains subcommand
ayys Mar 13, 2024
85c5a04
Update graphql schema, setup cynic based on the new schema
ayys Mar 13, 2024
011e494
add `get`, `set`, `get-zone-file`, `sync-zone-file` subcommands
ayys Mar 13, 2024
52b04d5
Fix formatting issues
ayys Mar 13, 2024
f3bfaf4
make lint fixes & improvements to code quality
ayys Mar 15, 2024
c0c4233
Add subcommand `wasmer domain register` to register a new domain
ayys Mar 18, 2024
3ab660e
Merge pull request #4487 from wasmerio/manage-dns
ayys Mar 18, 2024
5a820ca
update snapshots
maminrayej Mar 18, 2024
4d0f268
Merge pull request #4492 from wasmerio/longjmp
syrusakbary Mar 18, 2024
126840a
fix(backend-api): Fix type of BigInt
theduke Mar 19, 2024
cf27c75
Update CHANGELOG
Arshia001 Mar 19, 2024
b500020
Release 4.2.7
Arshia001 Mar 19, 2024
110ab96
Lock clap to 4.4.11 as clap 4.5 is incompatible with rustc 1.73
Arshia001 Mar 19, 2024
bf56b58
Update CHANGELOG
Arshia001 Mar 19, 2024
cfc80c8
Update 0.x package versions
Arshia001 Mar 19, 2024
cfee33e
Lock normpath to 1.1.1 as 1.2.0 is incompatible with rustc 1.73
Arshia001 Mar 19, 2024
c8e5c20
Merge pull request #4503 from wasmerio/release-4.2.7
Arshia001 Mar 19, 2024
c09b105
Merge branch 'master' into dproxy
john-sharratt Mar 20, 2024
1af8c3c
Merge pull request #4462 from wasmerio/dproxy
john-sharratt Mar 21, 2024
3f09e2b
Added support for creating log file journals directly from buffers
john-sharratt Mar 21, 2024
f071c56
Merge remote-tracking branch 'origin/master' into journal-ext
john-sharratt Mar 21, 2024
078fe58
Made the output a concrete type so that its easier to use
john-sharratt Mar 21, 2024
064bb79
deps: Upgrade edge-schema to 0.0.3
theduke Mar 21, 2024
2ff9eeb
feat(backend-api): Add some more DnsRecord helper methods
theduke Mar 21, 2024
b4ad5c1
deps: Upgrade edge-schema and edge-util crates
theduke Mar 21, 2024
69e9359
feat: add wasmer-argus testsuite
xdoardo Mar 6, 2024
da0ae01
add README.md
xdoardo Mar 6, 2024
e3bf9b9
feat: add llvm to backends
xdoardo Mar 6, 2024
118a050
fix: clippy warnings
xdoardo Mar 6, 2024
af695f6
fix: formatting
xdoardo Mar 6, 2024
368104d
fix: clippy
xdoardo Mar 6, 2024
c7943c9
fix: clearer code
xdoardo Mar 7, 2024
75e0292
fix: use `tokio`'s `File`
xdoardo Mar 7, 2024
f0f6162
fix: mark non-rust codeblock as `text`
xdoardo Mar 7, 2024
f3a7403
feat(argus): feature-gate `wasmer_lib`
xdoardo Mar 15, 2024
62210fa
feat(argus): add CLI flag for using library
xdoardo Mar 15, 2024
5b6efe5
feat(argus): CLI and library testers
xdoardo Mar 15, 2024
3f19154
feat(argus): README with build instructions
xdoardo Mar 15, 2024
261d022
feat(argus): remove `paw`, add `async_trait`
xdoardo Mar 18, 2024
0136b7b
fix(argus): fmt
xdoardo Mar 18, 2024
32e5a3d
fix(argus): lint
xdoardo Mar 18, 2024
3f484af
feat(argus): add output path to compile command
xdoardo Mar 20, 2024
c260cb7
fix(argus): underscore unused parameter
xdoardo Mar 20, 2024
54e7e85
fix(argus): more logging
xdoardo Mar 20, 2024
00b125e
fix(argus): reasonable test indexing
xdoardo Mar 20, 2024
9c26c27
fix(argus): explicit env filter
xdoardo Mar 20, 2024
2df8741
feat(argus): add package identifier in test serialization
xdoardo Mar 20, 2024
bb5f36f
fix(argus): remove version for crate `wasmer-api`
xdoardo Mar 20, 2024
ec650e7
fix: remove version from backend crate
xdoardo Mar 20, 2024
516922e
feat(argus): bump workspace version
xdoardo Mar 20, 2024
cdd06e3
refactor(argus): remove lib
xdoardo Mar 20, 2024
9110bba
refactor(argus): remove run flag
xdoardo Mar 20, 2024
0750e92
refactor(argus): remove `wasmer_version` from `ArgusConfig`
xdoardo Mar 20, 2024
20e6322
refactor(argus): more autonomy to testers
xdoardo Mar 20, 2024
b2b1a02
chore(argus): clippy + fmt
xdoardo Mar 20, 2024
6626343
fix(argus): use rustls in reqwest
xdoardo Mar 21, 2024
236344d
fix(argus): use same reqwest config as CLI
xdoardo Mar 21, 2024
be89624
log version
xdoardo Mar 21, 2024
5358021
Merge pull request #4510 from wasmerio/journal-ext
john-sharratt Mar 25, 2024
ac81cde
Fix singlepass panic. Partially fix #4519
syrusakbary Mar 25, 2024
63cab7d
Merge pull request #4520 from wasmerio/fix-singlepass-panic
syrusakbary Mar 25, 2024
a0aee29
Fix bug with app deploy
ayys Mar 27, 2024
aa2ee5b
feat(singlepass): use SIMD insts for popcount
xdoardo Mar 27, 2024
4a43746
feat(singlepass): add NEON feature for arm64
xdoardo Mar 27, 2024
ae90237
Merge pull request #4525 from wasmerio/fix-app-deploy
ayys Mar 28, 2024
f553d9f
fix(singlepass): use `has_neon` flag
xdoardo Mar 28, 2024
733cf1f
fix(singlepass): use `ref` to match on target
xdoardo Mar 28, 2024
87e9bec
Merge branch 'master' into 4422-improve-singlepass-performance-on-aar…
xdoardo Mar 28, 2024
338b15d
fix(singlepass): lint
xdoardo Mar 28, 2024
3884a5d
Merge pull request #4526 from xdoardo/4422-improve-singlepass-perform…
xdoardo Mar 28, 2024
7d7a747
allow owner field in app.yaml
ayys Mar 28, 2024
1a7c9d2
add owner to app.yaml when creaing a new app with `wasmer app create`
ayys Mar 28, 2024
b4b18c6
Various fixes detected in the build
john-sharratt Apr 3, 2024
104cf9c
Linting fix
john-sharratt Apr 3, 2024
084012b
CVE fix
john-sharratt Apr 3, 2024
999109c
Minor leftover fixes
john-sharratt Apr 3, 2024
e453cde
Lint fix
john-sharratt Apr 3, 2024
98708d7
fix(cli): Fix Edge WinterJS template
theduke Apr 3, 2024
3ca0dfb
Fix owner issues with app create
ayys Apr 3, 2024
af31e99
add owner field to assertions in integration tests
ayys Apr 3, 2024
a597145
Merge pull request #4537 from wasmerio/fix-app-create
ayys Apr 3, 2024
c0d2a31
deps: Upgrade h2 due to RUSTSEC advisory
theduke Apr 3, 2024
dda243e
Merge pull request #4539 from wasmerio/deps-upgrade-h2
syrusakbary Apr 4, 2024
1727710
Removed some dead code
john-sharratt Apr 2, 2024
ee0e1bd
Merge pull request #4541 from wasmerio/dead-code
john-sharratt Apr 4, 2024
80b933c
Merge branch 'master' into various-fixes
john-sharratt Apr 4, 2024
9fe37d2
Merge pull request #4542 from wasmerio/various-fixes
syrusakbary Apr 5, 2024
806808f
Update CHANGELOG
Arshia001 Apr 5, 2024
a180dad
Release 4.2.8
Arshia001 Apr 5, 2024
866d86c
Update 0.x package versions
Arshia001 Apr 5, 2024
c12cac2
Update CHANGELOG
Arshia001 Apr 5, 2024
f135527
Merge pull request #4544 from wasmerio/release-4.2.8
Arshia001 Apr 5, 2024
6b15433
Merge commit 'f135527' into adopt-v4.2.8
rachel-bousfield Apr 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[profile.ci]
# Print out output for failing tests as soon as they fail, and also at the end
# of the run (for easy scrollability).
failure-output = "immediate-final"
# Do not cancel the test run on the first failure.
fail-fast = false
# Automatically mark a test as "slow" after 60 seconds, then kill it after 180s
slow-timeout = { period = "60s", terminate-after = 3 }
# Retry a couple times in case there are flaky tests
retries = 3
4 changes: 2 additions & 2 deletions .github/cross-linux-riscv64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get update && \
# install rust tools
RUN curl --proto "=https" --tlsv1.2 --retry 3 -sSfL https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup -v toolchain install 1.70
RUN rustup -v toolchain install 1.73
# add docker the manual way
COPY install_docker.sh /
RUN /install_docker.sh
Expand Down Expand Up @@ -61,7 +61,7 @@ ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc
RUST_TEST_THREADS=1 \
PKG_CONFIG_PATH="/usr/lib/riscv64-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}"

RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.70-x86_64-unknown-linux-gnu
RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.73-x86_64-unknown-linux-gnu

#compile libssl-dev for riscv64!
COPY build_openssl.sh /
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.70"
MSRV: "1.73"

jobs:
run_benchmark:
Expand Down
38 changes: 6 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Builds
env:
RUST_BACKTRACE: 1
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.70"
MSRV: "1.73"

on:
push:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
use_llvm: true
build_wasm: false
- build: macos-arm64
os: macos-11.0
os: macos-14
target: aarch64-apple-darwin
artifact_name: 'wasmer-darwin-arm64'
use_sccache: false
Expand Down Expand Up @@ -91,18 +91,12 @@ jobs:
- uses: actions/checkout@v3
- name: Set up base deps on musl
if: matrix.build == 'linux-musl-x64'
run: |
apk add build-base bash musl-dev curl make libtool libffi-dev gcc automake autoconf git openssl-dev g++
run: ./scripts/alpine-linux-install-deps.sh
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.MSRV }}
target: ${{ matrix.target }}
- name: Install Rust nightly (to build capi-headless)
uses: dtolnay/rust-toolchain@master
with:
toolchain: "nightly-2023-05-25"
target: ${{ matrix.metadata.target }}
- uses: Swatinem/rust-cache@v2
if: matrix.use_sccache != true
- name: Install LLVM (macOS Apple Silicon)
Expand Down Expand Up @@ -191,17 +185,9 @@ jobs:
echo 'RUSTC_WRAPPER=${{ runner.tool_cache }}/cargo-sccache/bin/sccache' >> $GITHUB_ENV
shell: bash
- name: Build C API headless
if: matrix.build != 'macos-arm64'
shell: bash
run: |
make package-capi-headless
- name: Build C API headless
if: matrix.build == 'macos-arm64'
run: |
make package-capi-headless
env:
TARGET: aarch64-apple-darwin
TARGET_DIR: target/aarch64-apple-darwin/release
- name: Build C API
shell: bash
run: |
Expand All @@ -224,9 +210,10 @@ jobs:
# run: |
# make build-wasmer-wasm
- name: Install Nightly Rust for Headless
if: matrix.build != 'linux-musl-x64'
uses: dtolnay/rust-toolchain@master
with:
toolchain: "nightly-2023-05-25"
toolchain: "nightly-2023-10-05"
target: ${{ matrix.target }}
components: "rust-src"
- name: Build Minimal Wasmer Headless
Expand All @@ -244,20 +231,12 @@ jobs:
echo "incremental = false" >> Cargo.toml
echo "codegen-units = 1" >> Cargo.toml
echo "rpath = false" >> Cargo.toml
rustup override set nightly-2023-05-25
rustup override set nightly-2023-10-05
make build-wasmer-headless-minimal
rustup override unset
- name: Dist
if: matrix.build != 'macos-arm64'
run: |
make distribution
- name: Dist macos-arm64
if: matrix.build == 'macos-arm64'
run: |
make distribution
env:
TARGET: aarch64-apple-darwin
TARGET_DIR: target/aarch64-apple-darwin/release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
Expand All @@ -278,11 +257,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
target: x86_64-pc-windows-gnu
- name: Install Rust nightly (to build capi-headless)
uses: dtolnay/rust-toolchain@master
with:
toolchain: "nightly-2023-05-25"
target: x86_64-pc-windows-gnu
- name: Install Windows-GNU target
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloudcompiler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release cloudcompiler.wasm

env:
RUST_BACKTRACE: 1
MSRV: "1.70"
MSRV: "1.73"

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'lib/**'

env:
MSRV: "1.70"
MSRV: "1.73"

jobs:
documentation:
Expand Down
53 changes: 37 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ env:
# Rust, but it's not stable on 1.69 yet. By explicitly setting the protocol we
# can override that behaviour
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.70"
MSRV: "1.73"
NEXTEST_PROFILE: "ci"

jobs:

Expand Down Expand Up @@ -97,6 +98,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
with:
log-level: error

test_nodejs:
name: Test on NodeJS
Expand All @@ -118,6 +121,23 @@ jobs:
run: |
make test-js

test_wasi_fyi:
name: Test wasi-fyi
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
targets: "wasm32-wasi"
- name: Install wasm-pack
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: make test-wasi-fyi
run: |
make test-wasi-fyi

# The no_std functionality doesn't work at the moment - no point in testing it.
# - name: make test-js-core
# run: |
Expand Down Expand Up @@ -158,7 +178,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "nightly-2023-05-25"
toolchain: "nightly-2023-10-05"
target: x86_64-unknown-linux-gnu
- run: cargo install toml-cli # toml-cli is required to run `make test-build-docs-rs`
- name: make test-build-docs-rs-ci
Expand Down Expand Up @@ -351,9 +371,7 @@ jobs:
sudo apt-get install --reinstall g++
- name: Set up base deps on musl
if: matrix.metadata.build == 'linux-musl'
run: |
apk update
apk add build-base bash musl-dev curl tar make libtool libffi-dev gcc automake autoconf git openssl-dev g++
run: ./scripts/alpine-linux-install-deps.sh
- name: Set up dependencies for Mac OS
run: |
brew install automake
Expand All @@ -366,11 +384,8 @@ jobs:
with:
toolchain: ${{ env.MSRV }}
target: ${{ matrix.metadata.target }}
- name: Install Rust nightly (to build capi-headless)
uses: dtolnay/rust-toolchain@master
with:
toolchain: "nightly-2023-05-25"
target: ${{ matrix.metadata.target }}
- name: Install Nextest
uses: taiki-e/install-action@nextest
- name: Install Windows-GNU linker
if: ${{ matrix.metadata.build == 'windows-gnu' }}
shell: bash
Expand Down Expand Up @@ -551,6 +566,12 @@ jobs:
exe: '',
llvm_url: 'https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/clang+llvm-15.0.7-x86_64-apple-darwin21.0.tar.xz'
},
{
build: macos-arm64,
os: macos-14,
target: aarch64-apple-darwin,
exe: '',
},
{
build: windows-x64,
os: windows-2019,
Expand Down Expand Up @@ -580,9 +601,7 @@ jobs:
sudo apt-get install --reinstall g++
- name: Set up base deps on musl
if: matrix.metadata.build == 'linux-musl'
run: |
apk update
apk add build-base bash musl-dev curl tar make libtool libffi-dev gcc automake autoconf git openssl-dev g++
run: ./scripts/alpine-linux-install-deps.sh
- name: Set up dependencies for Mac OS
run: |
brew install automake
Expand All @@ -595,6 +614,8 @@ jobs:
with:
toolchain: ${{ env.MSRV }}
target: ${{ matrix.metadata.target }}
- name: Install Nextest
uses: taiki-e/install-action@nextest
- name: Install LLVM (macOS Apple Silicon)
if: matrix.metadata.os == 'macos-11.0' && !matrix.metadata.llvm_url
run: |
Expand Down Expand Up @@ -679,9 +700,7 @@ jobs:
version: 0.10.0
- name: Set up base deps on musl
if: matrix.build == 'linux-musl'
run: |
apk update
apk add build-base bash musl-dev curl tar make libtool libffi-dev gcc automake autoconf git openssl-dev g++
run: ./scripts/alpine-linux-install-deps.sh
- uses: actions/download-artifact@v3
id: download
with:
Expand All @@ -696,6 +715,8 @@ jobs:
with:
toolchain: ${{ env.MSRV }}
target: ${{ matrix.metadata.target }}
- name: Install Nextest
uses: taiki-e/install-action@nextest
- name: Cache
uses: whywaita/actions-cache-s3@v2
with:
Expand Down
68 changes: 0 additions & 68 deletions .github/workflows/web.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.formatOnType": false
}
},
"rust-analyzer.showUnlinkedFileNotification": false
}
Loading
Loading