From 537ad5da4cfcf4ba46cbb3b840e6fcf90b7b4267 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Tue, 23 Apr 2024 09:14:13 +0200 Subject: [PATCH] mini-std: Add -frust-mini-std flag gcc/rust/ChangeLog: * lang.opt: Add flag to lang options. --- gcc/rust/lang.opt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt index 35798f5e01a1..e270e9561b04 100644 --- a/gcc/rust/lang.opt +++ b/gcc/rust/lang.opt @@ -212,4 +212,8 @@ frust-borrowcheck Rust Var(flag_borrowcheck) Use the WIP borrow checker. +frust-mini-std +Rust Var(flag_mini_std) +Include the experimental miniature standard library implementation shipped within the Rust frontend + ; This comment is to ensure we retain the blank line above.