Skip to content

Commit aea1a51

Browse files
committed
Let rustbuild parse llvm debuginfo option
update_with_config_mk() needs to read the new llvm debuginfo config option from config.mk. Other than that, rustbuild already supports LLVM's RelWithDebInfo build type.
1 parent 7a91d4a commit aea1a51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/config.rs

+1
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ impl Config {
339339
("COMPILER_DOCS", self.compiler_docs),
340340
("DOCS", self.docs),
341341
("LLVM_ASSERTIONS", self.llvm_assertions),
342+
("LLVM_DEBUGINFO", self.llvm_release_debuginfo),
342343
("OPTIMIZE_LLVM", self.llvm_optimize),
343344
("LLVM_VERSION_CHECK", self.llvm_version_check),
344345
("LLVM_STATIC_STDCPP", self.llvm_static_stdcpp),

0 commit comments

Comments
 (0)