Yuta Saito
9a247811e6
Remove non-mandatory dependencies from Brewfile
2024-03-28 08:41:48 +09:00
Yuta Saito
5bf2e3e874
Stop copying main resources twice and create symlinks instead
2024-03-28 08:41:48 +09:00
Yuta Saito
1a0a29acb3
Support more MIME types in `dev` server
2024-03-28 08:41:48 +09:00
Yuta Saito
73bf897e24
Revert a part of f576362845
...
To send SIGKILL to the process *group* (not just the process itself)
2024-03-26 14:22:04 +09:00
Yuta Saito
b8b390add1
Suppress mutability warning
2024-03-23 00:38:53 +09:00
Yuta Saito
aef04d7214
Disable sandbox for bundle command too temporarily
...
This is a temporary workaround to fix the issue where the bundle command
fails to create ~/.carton directory when it's outdated or missing. We
don't need to create .carton directory anymore ideally, but it requires
several refactoring to remove it completely Thus, we disable the sandbox
for now.
2024-03-23 00:35:24 +09:00
Yuta Saito
fbcfb1191a
Force terminate chromedriver process when interrupting the test run
2024-03-20 01:54:33 +09:00
Yuta Saito
b7c6c5a3ce
Fix Linux build by appendingPathComponent instead of appending(path:)
2024-03-19 17:52:38 +09:00
Yuta Saito
f576362845
Communicate with WebDriver using curl
...
libcurl-based URLSession implementation in corelibs-foundation seems
somehow broken on GitHub Actions environment. It fails to connect to
WebDriver server with the `Failed writing header` error.
This commit replaced URLSession with curl CLI if it's available.
2024-03-19 17:49:01 +09:00
Yuta Saito
4f3dc7c0b0
Support fragmented WebSocket frames sent from Chrome
...
Chrome sends fragmented WebSocket frames when the message is too large
(around 113KB). See https://issues.chromium.org/issues/41192391
2024-03-19 12:56:47 +09:00
Yuta Saito
75b8f82e3f
Accept larger WebSocket frames by default
...
Test result output might be too large to fit into the default
WebSocket frame size.
2024-03-19 03:44:23 +09:00
Yuta Saito
b0a4ae7fad
Bump version to 1.0.1, update CHANGELOG.md
2024-03-10 18:25:34 +09:00
Yuta Saito
8b956767b4
Fix bundle command to copy dependencies' resources even with optimization
...
The `bundle` command was not copying the resources of the dependencies
when the main binary is optimized with wasm-opt.
2024-03-10 18:25:34 +09:00
Yuta Saito
1a56ebdd3b
Apply browser build parameters for bundle builds
...
Bundle builds should also apply the browser build parameters for reactor
ABI. This is necessary to work with JavaScriptKit.
2024-03-10 18:25:34 +09:00
Yuta Saito
ad79dda5bb
[skip ci] Update README.md
2024-03-10 16:21:02 +09:00
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