Skip to content

Add OpenBSD and DragonFly to the triple mappings - #4468

Open
zakinko wants to merge 1 commit into
bazelbuild:mainfrom
zakinko:bsd-triple-mappings
Open

zakinko wants to merge 1 commit into
bazelbuild:mainfrom
zakinko:bsd-triple-mappings

Conversation

@zakinko

@zakinko zakinko commented Nov 26, 2026

Copy link
Copy Markdown

The triple mappings know the constraints and stdlib link flags of OpenBSD, and the link flags of DragonFly, but not their file extensions, so system_to_binary_ext fails with key "openbsd" not found in dictionary. Bootstrapping Bazel stops there, since it sets up a toolchain from the rustc on the host.

DragonFly also maps to None in the constraint table. It now maps to @platforms//os:dragonfly, which bazelbuild/platforms#143 adds; until that is in, DragonFly fails as it does today, and nothing else changes.

The triple mappings know the constraints and stdlib link flags of
OpenBSD, and the link flags of DragonFly, but not their file extensions,
so system_to_binary_ext fails with 'key "openbsd" not found in
dictionary'. Bootstrapping Bazel stops there, since it sets up a
toolchain from the rustc on the host.

DragonFly also maps to None in the constraint table. It now maps to
@platforms//os:dragonfly, which bazelbuild/platforms#143 adds.

@UebelAndre UebelAndre left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Happy to accept once the upstream change merges and we can bump platforms 😄

This branch has not been deployed

No deployments
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.

2 participants