-
Notifications
You must be signed in to change notification settings - Fork 201
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: swiftlang/swift-foundation
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: kateinoigakukun/swift-foundation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: yt/wasi-support
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 11 files changed
- 2 contributors
Commits on Aug 8, 2024
-
FoundationMacros: use cross-compilation to build for host
Use `ExternalProject` to switch FoundationMacros to cross-compilation. This allows us to build the macros for the right OS/architecture when cross-compiling Foundation for other environments.
Configuration menu - View commit details
-
Copy full SHA for 51fc159 - Browse repository at this point
Copy the full SHA 51fc159View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c654c6 - Browse repository at this point
Copy the full SHA 1c654c6View commit details -
Use
POSIXErrorCode
instead of direct errno E constants from libcwasi-libc's E constants cannot be imported directly by ClangImporter, so we should use `POSIXErrorCode` from Swift instead.
Configuration menu - View commit details
-
Copy full SHA for 2de066d - Browse repository at this point
Copy the full SHA 2de066dView commit details -
Port directory enumeration related code to WASI
For now wasi-libc does not include fts(3) implementation, so mark features depending on it as unsupported on WASI. Once wasi-libc includes fts or we decide to implement and maintain our own fts-like API, we can remove these `#if os(WASI)` guards. wasi-libc issue tracking fts support: WebAssembly/wasi-libc#520 Also, wasi-libc defines some constants in a way that ClangImporter can't understand, so we need to grab them manually through _FoundationCShims in function call form.
Configuration menu - View commit details
-
Copy full SHA for 6852de6 - Browse repository at this point
Copy the full SHA 6852de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 835e7a8 - Browse repository at this point
Copy the full SHA 835e7a8View commit details -
[wasm] Fall back to a default chunk size when
st_blksize
is not ava……ilable The `st_blksize` field in `stat` struct is not provided by WASI, so we fall back to a default chunk size 4KB, which is a common page size.
Configuration menu - View commit details
-
Copy full SHA for 968a3fb - Browse repository at this point
Copy the full SHA 968a3fbView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...yt/wasi-support