From f0a1fd4122e5be9e6e16570fb099a2885821f6ff Mon Sep 17 00:00:00 2001 From: Lucas Steuernagel Date: Fri, 23 Feb 2024 18:58:49 -0300 Subject: [PATCH] Set 32 bits for SBF enums --- compiler/rustc_target/src/spec/base/sbf_base.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_target/src/spec/base/sbf_base.rs b/compiler/rustc_target/src/spec/base/sbf_base.rs index 50ffc6c883fc7..818e6caabd09f 100644 --- a/compiler/rustc_target/src/spec/base/sbf_base.rs +++ b/compiler/rustc_target/src/spec/base/sbf_base.rs @@ -60,6 +60,7 @@ SECTIONS requires_lto: false, singlethread: true, vendor: "solana".into(), + c_enum_min_bits: Some(32), .. Default::default() } }