Yuta Saito
1b50ba88c4
Default toolchain version bump to 5.9.2
2024-03-10 16:13:47 +09:00
Yuta Saito
9b8ba12741
Bump version to 1.0.0, update CHANGELOG.md
2024-03-09 14:37:30 +00:00
Yuta Saito
3ca2e58bf3
Install binaryen through apt-get on Ubuntu
2024-03-09 23:24:09 +09:00
Yuta Saito
abc014932f
Add wasmtime as a default WASI runtime
2024-03-09 23:24:09 +09:00
Yuta Saito
f7fb2d16c4
Install wasm-objdump
2024-03-09 23:24:09 +09:00
Yuta Saito
32ba4c970e
Build test product from plugin process if SwiftPM is new enough
2024-03-09 23:24:09 +09:00
Yuta Saito
5b4b870aa5
Use mangled `__main_argc_argv` for Swift 6 and later
2024-03-09 23:24:09 +09:00
Yuta Saito
34d5cd4cd1
Build with `-static-stdlib` explicitly
...
The new SwiftDriver does not infer `-static-stdlib` for WebAssembly
targets intentionally for future dynamic linking support.
2024-03-09 23:24:09 +09:00
Yuta Saito
e7c5400cf3
Remove install_ubuntu_deps step
2024-03-09 12:03:08 +00:00
Yuta Saito
21b37376d1
Update the warning message when wasm-opt fails
...
Suggest to install binaryen if wasm-opt is not installed
2024-03-09 11:59:26 +00:00
Yuta Saito
7afcf00626
Remove docker installation
2024-03-09 11:58:10 +00:00
Yuta Saito
d6966baa09
Fix typo in error message for deprecated environment name
2024-03-09 11:41:25 +00:00
Yuta Saito
0b4f2bcf72
Update README.md
2024-03-09 11:41:21 +00:00
Yuta Saito
8f87d1f9d8
Fix typo XXcxx -> Xcxx
2024-02-27 17:51:38 +09:00
Yuta Saito
9e93c85676
Emit warning when building package manifest
...
We also have a check in the plugin code but SwiftPM 5.9.1 and earlier
try to build some completely unsupported packages like swift-nio and
fail with a cryptic error message. Emitting a warning early on should
help users understand what's going on.
2024-02-27 02:23:12 +09:00
Yuta Saito
3086e5fd48
Improve logging for SwiftPM build
2024-02-27 02:23:12 +09:00
Yuta Saito
e4ea08a05b
Add `--no-content-hash` flag to avoid using hashes in the output file names
2024-02-27 02:23:12 +09:00
Yuta Saito
636600229c
Forward extra build flags given to plugin invocations
2024-02-27 02:23:12 +09:00
Yuta Saito
9ea75d548c
Allow writing to package directory by default
2024-02-27 02:23:12 +09:00
Yuta Saito
2dc85c38d5
Format Toolchain.swift file
2024-02-26 18:48:01 +09:00
Yuta Saito
993983ff98
Remove development files from the repository
2024-02-26 18:48:01 +09:00
Yuta Saito
13ff6f8bbf
Use `Process.run` instead of `Foundation.Process.run`
2024-02-26 18:48:01 +09:00
Yuta Saito
b7058c8c96
Disable manifest caching when building test product by swift-build
2024-02-26 18:48:01 +09:00
Yuta Saito
4535b3a1fc
Skip test product build if prebuilt test bundle is specified
2024-02-26 18:48:01 +09:00
Yuta Saito
a905cb1f14
Fix stack trace parsers
2024-02-26 18:48:01 +09:00
Yuta Saito
4dfca3fc45
Remove unnecessary -validate-tbd-against-ir=none
2024-02-26 18:48:01 +09:00
Yuta Saito
c2c0a14161
swift-format
2024-02-26 18:48:01 +09:00
Yuta Saito
4490b4456d
Use Foundation.Process instead of Process.run in hash-archive
2024-02-26 18:48:01 +09:00
Yuta Saito
cfd0df9449
Allow non-wasmer runtime for testing
2024-02-26 18:48:01 +09:00
Yuta Saito
607f096ad3
Remove unmaintained SwiftLint GitHub Action
2024-02-26 18:48:01 +09:00
Yuta Saito
1b3911c547
Repair Linux build
2024-02-26 18:48:01 +09:00
Yuta Saito
2e62088305
Version 1.0.0: SwiftPM Plugin Support
...
See CHANGELOG.md
2024-02-26 18:48:01 +09:00
Yuta Saito
33ef59df6f
Bump version to 0.20.1, update CHANGELOG.md
2024-01-25 14:35:53 +00:00
Yuta Saito
7a7ab8cdfa
Fix WASI stub syscall
...
The object key for Import entry was wrong.
2024-01-25 14:20:49 +00:00
Yuta Saito
cda123eb63
Remove debug code from entrypoint/common.js
2024-01-25 00:05:04 +09:00
Yuta Saito
71653a2bae
Update CHANGELOG.md for 0.20.0 release
2024-01-16 13:45:05 +00:00
Yuta Saito
8c8098acdb
Update base image of carton docker image
2024-01-16 13:41:48 +00:00
Yuta Saito
a5e1d07ce2
Update default toolchain version to 5.9.1
2024-01-16 22:29:15 +09:00
Yuta Saito
ac491662d8
swift run carton-release hash-archive
2024-01-16 22:06:14 +09:00
Yuta Saito
33eafb077f
Stop preventing WASI apps including unimplemented syscalls
...
The recent wasi-libc includes some new syscalls not implemented in
@wasmer-js/wasi and we currently disable `--gc-sections` (see
https://github.com/swiftwasm/swift/issues/5128 ), so binaries built with
SwiftWasm 5.9 toolchain contains references to those unimplemented
syscalls.
This commit allows running such binaries by inserting dummy functions
for unimplemented syscalls.
2024-01-16 22:06:14 +09:00
Yuta Saito
7fc43f0c21
Drop Swift 5.8 support as host toolchain
2024-01-09 19:56:18 +09:00
Yuta Saito
bf9fae77e4
Default back to wasm-5.8.0-RELEASE at this moment for docker image
...
Even with 5.8 being the default, users can still use 5.9 by specifying
the toolchain version in the .swift-version file.
2024-01-09 19:56:18 +09:00
Yuta Saito
fe182eb5b1
Repair CI configuration
2024-01-09 19:56:18 +09:00
STREGA
f1d736efb1
Remove 5.9 code paths
2024-01-09 19:56:18 +09:00
STREGA
6726c74427
Add swift_version matrix support for ubuntu
2024-01-09 19:56:18 +09:00
STREGA
00a0315cab
Update Dockerfile
2024-01-09 19:56:18 +09:00
STREGA
644a4c706a
Target only 5.9
2024-01-09 19:56:18 +09:00
STREGA
ef2d7fcce0
Always use SNAPSHOT
2024-01-09 19:56:18 +09:00
STREGA
811cd59ab5
Update DefaultToolchain.swift
2024-01-09 19:56:18 +09:00
STREGA
01d72e511f
Use 5.9 on any macOS with 5.9
2024-01-09 19:56:18 +09:00