Skip to content

Prepare for build with rust v1.84#313

Merged
manuelh-dev merged 4 commits intomsft-mainfrom
kata/rust184
Feb 15, 2025
Merged

Prepare for build with rust v1.84#313
manuelh-dev merged 4 commits intomsft-mainfrom
kata/rust184

Conversation

@manuelh-dev
Copy link

Merge Checklist
  • Followed patch format from upstream recommendation: https://github.com/kata-containers/community/blob/main/CONTRIBUTING.md#patch-format
    • Included a single commit in a given PR - at least unless there are related commits and each makes sense as a change on its own.
  • Aware about the PR to be merged using "create a merge commit" rather than "squash and merge" (or similar)
  • The upstream/missing label (or upstream/not-needed) has been set on the PR.
Summary
  • unbreak build with rust v1.84
  • some of the changes can be found in upstream PRs
  • we should revisit the changes made by this PR once fork sources are more up to date with upstream sources
    • changes are small and should be easy to detangle or reproduce
Test Methodology
  • manual build
  • internal CI

Manuel Huber added 4 commits February 14, 2025 20:30
- rust linter detects a potential future name collision
- see rustc lint static 'UNSTABLE_NAME_COLLISIONS'
- we can revisit this at a later point

Signed-off-by: Manuel Huber <mahuber@microsoft.com>
- subset of upstream commit 099b241
- should be straightforward to merge when sync-ing to upstream

Signed-off-by: Manuel Huber <mahuber@microsoft.com>
- counterpart to upstream a131eec
- unblocks build with rust v1.84

Signed-off-by: Manuel Huber <mahuber@microsoft.com>
- post-process to remove box_pointers annotation for generated files
- while this unblocks the build, should look for better solution:
  - request/teach codegen to not add certain linter annotation
  - update ttrpc-codegen or other dependencies

Signed-off-by: Manuel Huber <mahuber@microsoft.com>
@manuelh-dev manuelh-dev added the upstream/not-needed PRs that will not be upstreamed (e.g. internal) label Feb 14, 2025
@manuelh-dev manuelh-dev requested review from a team as code owners February 14, 2025 20:48
@Redent0r
Copy link

@manuelh-dev manuelh-dev merged commit 4779365 into msft-main Feb 15, 2025
47 of 57 checks passed
@manuelh-dev manuelh-dev deleted the kata/rust184 branch April 3, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream/not-needed PRs that will not be upstreamed (e.g. internal)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants