Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shym
Copy link
Owner

@shym shym commented Jan 6, 2025

No description provided.

shym added 2 commits February 17, 2025 17:12
Accept `*-none` and `*-elf*` triplets for all the architectures with a
native backend to describe the corresponding freestanding target; `none`
and `elf*` are the most commonly-used last components in triplets for
freestanding targets
Set `system` to `none` and `os_type` to `None` in such cases
Allow `ocaml` to be used as the last component of the target triplet in
case we are using a custom toolchain for a freestanding target. The
target triplet is then temporarily rewritten to "<arch>-none" to compute
the canonical target.

This allows to use a `*-*-ocaml-` prefixes (ie `x86_64-solo5-ocaml-`) to
create cross-compiler toolchains dedicated to specific freestanding
targets
@shym shym force-pushed the trunk branch 2 times, most recently from b02d3e0 to 15f3e59 Compare February 19, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants