Closed
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.