-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
I tried this code:
./configure --set llvm.build-config.LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=YES
I expected to see this happen: configure.py generates a toml file with the contents
build-config = {"LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN"="YES"}
Instead, this happened:
; ./configure --set llvm.build-config.LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=YES
configure: processing command line
configure:
configure: llvm.build-config.LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN := YES
configure: build.configure-args := ['--set', 'llvm.build-config.LLVM_TEMPORARILY_ ...
Traceback (most recent call last):
File "/Users/jyn/src/rust/./src/bootstrap/configure.py", line 486, in <module>
configure_section(sections[section_key], section_config)
File "/Users/jyn/src/rust/./src/bootstrap/configure.py", line 456, in configure_section
lines[i] = "{} = {}".format(key, to_toml(value))
File "/Users/jyn/src/rust/./src/bootstrap/configure.py", line 445, in to_toml
raise RuntimeError('no toml')
RuntimeError: no toml
Meta
HEAD is branched from 5423745.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)