Registry Mirror
Skip to content

Conversation

@alexmohr

@alexmohr alexmohr commented Nov 27, 2026 •

Copy link
Copy Markdown

Summary

Add the QNX platform mappings used by the S-CORE rules_rust fork:

  • Register x86_64 QNX targets and the QNX 7.1 io-sock / QNX 8 variants
    for both x86_64 and aarch64.
  • Add QNX version constraints so otherwise identical CPU/OS targets do
    not match both QNX 7 and QNX 8 selections.
  • Default to QNX 7 for compatibility with existing QNX platform labels.

This ports the QNX-specific platform configuration from
https://github.com/eclipse-score/rules_rust/tree/0.68.2-score without
copying unrelated fork changes.

Checklist

  • I have tested my changes locally
  • I have added or updated documentation
  • I have linked related issues or discussions
  • I have added or updated tests

Validation

  • The new six-case regression test fails before the platform changes.
  • USE_BAZEL_VERSION=8.6.0 bazel test //test/unit/platform_triple/...:
    all 9 tests pass after the changes.
  • Pre-commit checks run on all four changed files.
  • No QNX SDK, toolchain registration, linking, or execution is tested by
    these platform-mapping tests.

Related

Notes for Reviewers

Draft: tracks the upstream platform-label prerequisite for standalone
CDA builds. Consumers still need a rules_rust revision containing these
changes; this PR does not update their dependency pins.

PR #4371 separately updates cfg-expr for the newer QNX 8 target names.
This PR retains the versioned target names used by the S-CORE/Ferrocene
integration and does not duplicate that dependency update.


Alexander Mohr alexander.m.mohr@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH
Provider Information

Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
@google-cla

google-cla Bot commented Nov 27, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@alexmohr

Copy link
Copy Markdown
Author

Closing this, it is not needed:

@alexmohr alexmohr closed this Nov 30, 2026
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.

1 participant