compiler/rustc_codegen_gcc/Cargo.toml TOML 53 lines View on github.com → Search inside
1[package]2name = "rustc_codegen_gcc"3version = "0.1.0"4authors = ["Antoni Boucher <bouanto@zoho.com>"]5edition = "2024"6license = "MIT OR Apache-2.0"78[lib]9crate-type = ["dylib"]1011[[test]]12name = "lang_tests"13path = "tests/lang_tests.rs"14harness = false1516[features]17master = ["gccjit/master"]18default = ["master"]1920[dependencies]21object = { version = "0.37.0", default-features = false, features = ["std", "read"] }22tempfile = "3.20"23gccjit = { version = "3.3.0", features = ["dlopen"] }24#gccjit = { git = "https://github.com/rust-lang/gccjit.rs", branch = "error-dlopen", features = ["dlopen"] }2526# Local copy.27#gccjit = { path = "../gccjit.rs", features = ["dlopen"] }2829[dev-dependencies]30boml = "0.3.1"31lang_tester = "0.8.0"3233[profile.dev]34# By compiling dependencies with optimizations, performing tests gets much faster.35opt-level = 33637[profile.dev.package.rustc_codegen_gcc]38# Disabling optimizations for cg_gccjit itself makes compilation after a change faster.39opt-level = 04041# Disable optimizations and debuginfo of build scripts and some of the heavy build deps, as the42# execution time of build scripts is so fast that optimizing them slows down the total build time.43[profile.dev.build-override]44opt-level = 045debug = false4647[profile.release.build-override]48opt-level = 049debug = false5051[package.metadata.rust-analyzer]52rustc_private = true

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.