diff options
| author | bors <bors@rust-lang.org> | 2025-06-18 15:00:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-18 15:00:10 +0000 |
| commit | f9c15f40fbd7b4ba1baea6fb89551274047e17b3 (patch) | |
| tree | 7a8f47302a9efc517c790d26f20723cc9f4db6f6 /compiler/rustc_codegen_gcc/build_system/src/main.rs | |
| parent | 6f935a044d1ddeb6160494a6320d008d7c311aef (diff) | |
| parent | 864840512b7b605c0e44bfdbf29feb24c79608b3 (diff) | |
| download | rust-f9c15f40fbd7b4ba1baea6fb89551274047e17b3.tar.gz rust-f9c15f40fbd7b4ba1baea6fb89551274047e17b3.zip | |
Auto merge of #142669 - GuillaumeGomez:subtree-update_cg_gcc_2025-06-18, r=GuillaumeGomez
Update GCC backend subtree
Diffstat (limited to 'compiler/rustc_codegen_gcc/build_system/src/main.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/build_system/src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/build_system/src/main.rs b/compiler/rustc_codegen_gcc/build_system/src/main.rs index c70b00e09ae..078a4726ba8 100644 --- a/compiler/rustc_codegen_gcc/build_system/src/main.rs +++ b/compiler/rustc_codegen_gcc/build_system/src/main.rs @@ -5,6 +5,7 @@ mod clean; mod clone_gcc; mod config; mod fmt; +mod fuzz; mod info; mod prepare; mod rust_tools; @@ -42,7 +43,8 @@ Commands: test : Runs tests for the project. info : Displays information about the build environment and project configuration. clone-gcc : Clones the GCC compiler from a specified source. - fmt : Runs rustfmt" + fmt : Runs rustfmt + fuzz : Fuzzes `cg_gcc` using rustlantis" ); } @@ -56,6 +58,7 @@ pub enum Command { Test, Info, Fmt, + Fuzz, } fn main() { @@ -75,6 +78,7 @@ fn main() { Some("info") => Command::Info, Some("clone-gcc") => Command::CloneGcc, Some("fmt") => Command::Fmt, + Some("fuzz") => Command::Fuzz, Some("--help") => { usage(); process::exit(0); @@ -97,6 +101,7 @@ fn main() { Command::Info => info::run(), Command::CloneGcc => clone_gcc::run(), Command::Fmt => fmt::run(), + Command::Fuzz => fuzz::run(), } { eprintln!("Command failed to run: {e}"); process::exit(1); |
