Skip to content

Conversation

@ojeda
Copy link
Contributor

@ojeda ojeda commented Jul 29, 2023

Rust 1.71.0 will be the next version supported by the kernel [1].

Therefore, add it as a new build environment, update each config and finally remove the older build environment.

[1] https://lore.kernel.org/rust-for-linux/20230729220317.416771-1-ojeda@kernel.org/

@gctucker
Copy link
Collaborator

I think we still need to resolve the missing LLVM=1 issue causing Rust builds to fail before we can get valid results again, see the email thread about that. Hopefully I'll be able to prepare a fix this week then we could have Rust 1.71 in production next Monday.

@ojeda
Copy link
Contributor Author

ojeda commented Jul 31, 2023

Definitely -- I just replied to the list, sorry for the delay!

ojeda added 7 commits August 22, 2023 18:53
Rust 1.71.1 will be the next version supported by the kernel [1].

Therefore, add it as a new build environment.

Link: Rust-for-Linux/linux@89eed1a [1]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
bindgen 0.65.1 will be the next version supported by the kernel [1].

Therefore, add it to the latest build environment.

This also requires updating the name of the package from `bindgen` to
`bindgen-cli`, since bindgen 0.61.0 moved its CLI utility into a binary
crate called `bindgen-cli` [2].

Link: Rust-for-Linux/linux@08ab786 [1]
Link: rust-lang/rust-bindgen#2284 [2]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
All Rust branches have been moved to Rust 1.71.0, thus the build
environment for the previous version is no longer needed.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
@ojeda
Copy link
Contributor Author

ojeda commented Aug 22, 2023

I have moved this PR from 1.71.0 to Rust 1.71.1 (i.e. patch version increase) since that is what we have ended up using in rust-next.

I also moved bindgen to 0.65.1 since we also upgraded that one, and it is required to fix an issue with LLVM 16.

@ojeda ojeda changed the title Rust 1.71.0 Rust 1.71.1 Aug 22, 2023
@nuclearcat
Copy link
Member

@nuclearcat nuclearcat added this pull request to the merge queue Aug 25, 2023
Merged via the queue into kernelci:main with commit 7ca4791 Aug 25, 2023
@ojeda ojeda deleted the rust-1.71 branch August 25, 2023 13:46
@ojeda
Copy link
Contributor Author

ojeda commented Aug 25, 2023

Thanks Denys! I am sending the PR for the next upgrade so that it is prepared already.

@ojeda
Copy link
Contributor Author

ojeda commented Aug 25, 2023

Done: #2068.

@ojeda ojeda changed the title Rust 1.71.1 Rust 1.71.1 and bindgen 0.65.1 Aug 25, 2023
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.

3 participants