Import source code from baselibs_rust repository#236
Merged
Conversation
`inc_orchestrator_internal` was used as a basis. - Update all dependencies. - Add additional config files (e.g., `.cargo/`, `rust-toolchain.toml`, `rustfmt.toml`). - Update `.github` to be more Rust-specific. - Update Bazel configuration (e.g., `BUILD`, `MODULE.bazel`). - Add `Cargo.toml` workspace definition. - Update licenses. - Update `docs/` and `README.md` (still WIP).
- Make examples and tests work, both with Cargo and Bazel. - Remove obsolete test examples. - Add Python dependency.
- Remove license headers check - should be done by Bazel checks. - Remove loom run.
- Reorganize repository. - Remove placeholders. - Remove unnecessary deps. - Improve docs. - Remove `.cargo/`. - Remove Cargo repo in `MODULE.bazel`.
- Add git_override of the score_tooling dep. - Add copyright checks to examples and docs.
- Align Rust versions. - Remove self-dependency.
bazel: Base changes to repository
doc: bump versions
ABI-compatible and fixed-capacity vectors
Rules: https://github.com/eclipse-score/score_rust_policies/blob/main/rustfmt/rustfmt.toml Signed-off-by: Nicolae Dicu <nicolae.dicu.ext@qorix.ai>
- Replacement for `core::fmt`. - Partial implementation of common types. - `ScoreDebug` implementation helpers. - Unit tests.
rustfmt: Use rustfmt from tooling
log: `mw_log_fmt` implementation
"InsufficientCapacity" is a more precise description than "VectorFull" or similar error names.
ABI-compatible and fixed-capacity strings
- Align to recent changes to formatting. - Enforce Bazel target for formatting. - Make `rustfmt.toml` unusable with an error messag.e - Make VS Code use Bazel target.
formatting: align formatting
infra: align toolchains usage, deps and enable QNX8 CI
ABI-compatible Option and Result types
- Replacement for `format_args!` macro. - Replacement for `Debug` derive macro. - Unit tests.
baselibs_rust repository
|
The created documentation from the pull request is available at: docu-html |
4og
force-pushed
the
feat/migrate-rust-code
branch
from
June 5, 2026 15:59
1549273 to
2f6fa1d
Compare
4og
marked this pull request as ready for review
June 8, 2026 08:39
antonkri
previously approved these changes
Jun 8, 2026
Member
Author
|
We need to archive |
Contributor
I would check that last release of baselib_rust covers the latest commit. Then merge this here. Do first release with it and then archive. |
pawelrutkaq
requested changes
Jun 8, 2026
pawelrutkaq
left a comment
Contributor
There was a problem hiding this comment.
Looks good for now, moving to "new" location in repo will be done as next step. I would ask add me and @arkjedrz as codeowners too for rust part.
4og
force-pushed
the
feat/migrate-rust-code
branch
from
June 8, 2026 11:18
58e459f to
1973833
Compare
pawelrutkaq
previously approved these changes
Jun 8, 2026
fbaeuerle
approved these changes
Jun 8, 2026
fbaeuerle
left a comment
Contributor
There was a problem hiding this comment.
mainly looked at the build files. looks good to me but we need to find a better place for the rust code.
This is to be investigated in #251
4og
force-pushed
the
feat/migrate-rust-code
branch
2 times, most recently
from
June 8, 2026 18:51
5524d57 to
d92239f
Compare
eclipse-otterdog Bot
pushed a commit
to eclipse-score/.eclipsefdn
that referenced
this pull request
Jun 9, 2026
As baselibs_rust were moved to baselibs in eclipse-score/baselibs#236 we archive repository
antonkri
approved these changes
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR imports all source code from https://github.com/eclipse-score/baselibs_rust
Currently, the code is moved as is into the
/srcfolder. Follow-up: #248Part of #200