Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./configure doesn't support lists #109316

Closed
jyn514 opened this issue Mar 18, 2023 · 1 comment · Fixed by #109702
Closed

./configure doesn't support lists #109316

jyn514 opened this issue Mar 18, 2023 · 1 comment · Fixed by #109702
Assignees
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@jyn514
Copy link
Member

jyn514 commented Mar 18, 2023

I tried this code:

../configure --set rust.codegen-backends=[rustc_codegen_cranelift]

I expected to see this happen: configure generates

[rust]
codegen-backends = ["rustc_codegen_cranelift"]

Instead, this happened: configure generates

[rust]
codegen-backends = '[rustc_codegen_cranelift]'

which fails to parse.

Meta

HEAD is branched from 13afbda

@jyn514 jyn514 added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. labels Mar 18, 2023
@jyn514
Copy link
Member Author

jyn514 commented Mar 18, 2023

./configure --set rust.codegen-backends='["rustc_codegen_cranelift"]' also doesn't work, it just embeds the quotes.

codegen-backends = '["rustc_codegen_cranelift"]'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants