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

Driver: BareMetalToolChains for non-WASI triples #4374

Closed
wants to merge 2 commits into from

Conversation

MaxDesiatov
Copy link

In the future this should allow us to build small executables that don't require WASI and Unicode tables while utilizing uSwift instead of stdlib. Things don't fully work yet with wasm32-unknown-unknown-wasm triple, but I had limited success with executables produced with arm-unknown-none-eabi triple running on a bare metal Raspberry Pi 2 emulated on QEMU.

compnerd and others added 2 commits May 8, 2022 21:21
This allows building the Swift standard library for targets which may
not have an actual OS running.  This is identified by the OS field in
the target triple being set to `none`.

# Conflicts:
#	lib/Driver/Driver.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants