This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Update rust-bpf-builder to be based on Rust 1.40 or above #11055
Closed
Description
Currently, rust-bpf-builder uses a custom version of Rust based on Rust 1.39: https://github.com/solana-labs/rust-bpf-builder/blob/2ae3f921f65789067963b7d7a41219d0a1997edb/linux/Dockerfile#L66-L69
In Rust 1.40, procedural macros can expand to macro_rules!
declaration without using #![feature(proc_macro_hygiene)]
. By basing rust-bpf-builder on a newer version of Rust, we can avoid the need to conditionally apply the #![feature(proc_macro_hygiene)]
feature gate in #10905