Skip to content

Revert #916 and apply a slightly different change. #917

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

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Jan 17, 2025

Thank you to @tshortli for the patch! We don't actually need this property to be unavailable on WASI—it was just meant as a convenience. But since we're not using the property for anything at this time (a future PR might try to productize TestContentRecord), it's overkill.

So instead I'll just leave the property available, and document it's always nil on statically-linked platforms.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This reverts commit 9042721, reversing
changes made to dfa0d24.
Thank you to @tshortli for the patch! We don't actually _need_ this property to
be unavailable on WASI—it was just meant as a convenience. But since we're not
using the property for anything at this time (a future PR might try to
productize `TestContentRecord`), it's overkill.

So instead I'll just leave the property available, and document it's always
`nil` on statically-linked platforms.
@grynspan grynspan added bug 🪲 Something isn't working wasi/wasm 🧭 WebAssembly support build 🧱 Affects the project's build configuration or process labels Jan 17, 2025
@grynspan grynspan added this to the Swift 6.x milestone Jan 17, 2025
@grynspan grynspan self-assigned this Jan 17, 2025
@grynspan grynspan requested a review from tshortli January 17, 2025 16:57
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 0538f22 into main Jan 17, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/fix-wasi-build-2 branch January 17, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working build 🧱 Affects the project's build configuration or process wasi/wasm 🧭 WebAssembly support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants