Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created October 13, 2020 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grommish/4a6db5e255526b99b9f2dcb9fd2e0c5b to your computer and use it in GitHub Desktop.
Save Grommish/4a6db5e255526b99b9f2dcb9fd2e0c5b to your computer and use it in GitHub Desktop.
# Rust Language Options
menu "Compiler Options"
depends on PACKAGE_rust
config RUST_DEBUG
bool "Enables Debugging Environment"
default n
config RUST_DOCS
bool "Build standard library documentation"
default n
config RUST_COMPILER_DOCS
bool "Build compiler documentation"
default n
config RUST_OPTIMIZE_TESTS
bool "Build tests with optimizations"
default n
config RUST_PARALLEL
bool "Build with multi-threaded support"
default n
config RUST_VERBOSE_TESTS
bool "Enable verbose output when running tests"
default n
config RUST_CCACHE
bool "Build with ccache enabled"
default n
config RUST_LLVM_STATIC
bool "Statically link to libstdc++ to LLVM"
default n
config RUST_LLVM_SHARED
bool "Prefer shared linking to LLVM (llvm-config --link-shared)"
default n
config RUST_CODEGEN_TESTS
bool "Run the src/test/codegen tests"
default n
config RUST_OPTION_CHECKING
bool "Complain about unrecognized options in this configure script"
default y
config RUST_ENABLE_NINJA
bool "Build LLVM using the Ninja generator"
default y
config RUST_LOCKED_DEPS
bool "Force Cargo.lock to be up to date"
default n
config RUST_VENDOR
bool "Enable usage of vendored Rust crates"
default n
config RUST_SANITIZERS
bool "Build the sanitizer runtimes (asan, lsan, msan, tsan)"
default n
config RUST_DIST_SRC
bool "When building tarballs enables building a source tarball"
default n
config RUST_CARGO_NATIVE_STATIC
bool "Build static native libraries in Cargo"
default n
config RUST_PROFILER
bool "Build the profiler runtime"
default n
config RUST_FULL_TOOLS
bool "Build all tools"
default n
config RUST_MISSING_TOOLS
bool "Allow failures when building tools"
default y
config RUST_USE_LIBCXX
bool "Build LLMV with libc++"
default n
config RUST_CONTROL_FLOW_GUARD
bool "Enable Control Flow Guard"
default n
config RUST_LLVM_LIB_UNWIND
bool "Use LLVM libunwind"
default n
config RUST_OPTIMIZE
bool "Build optimized rust code"
default n
config RUST_OPTIMIZE_LLVM
bool "Build optimized LLVM"
default n
config RUST_LLVM_ASSERTIONS
bool "Build LLVM with assertions"
default n
config RUST_DEBUG_ASSERTIONS
bool "Build with debugging assertions"
default n
config RUST_LLVM_RELEASE_DEBUGINFO
bool "Build LLVM with debugger metadata"
default n
config RUST_MANAGE_SUBMODULES
bool "Let the build manage the git submodules"
default y
config RUST_FULL_BOOTSTRAP
bool "Full Bootstrap - Build three compilers instead of two"
default y
endmenu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment