-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 --set support list as arguments #109702
configure --set support list as arguments #109702
Conversation
build = self.serialize_and_parse(["--set", "rust.codegen-backends=cranelift"]) | ||
self.assertNotEqual(build.config_toml.find("codegen-backends = ['cranelift']"), -1) | ||
build = self.serialize_and_parse(["--set", "rust.codegen-backends=cranelift,llvm"]) | ||
self.assertNotEqual(build.config_toml.find("codegen-backends = ['cranelift', 'llvm']"), -1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use config_toml.find
here because get_string
don't support list
right now.
I think we need to rewrite get_toml
, regular expression match seems won't work well 😂
I don't have time for reviews right now, please don't assign me. r? bootstrap |
Welcome @albertlarsan68! I will check on this within the week. |
Ping @albertlarsan68 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems overall good, one nit.
Sorry for the long wait.
☔ The latest upstream changes (presumably #110546) made this pull request unmergeable. Please resolve the merge conflicts. |
70319ed
to
bbbb478
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the PR! |
📌 Commit bbbb478881dc02f17679cee90e129512dcb96c7a has been approved by It is now in the queue for this repository. |
⌛ Testing commit bbbb478881dc02f17679cee90e129512dcb96c7a with merge 916b7fe9c67b07f5c55d4b842f5c989ea5149d46... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
bbbb478
to
787f3fe
Compare
@bors r+ |
Rollup of 7 pull requests Successful merges: - rust-lang#109702 (configure --set support list as arguments) - rust-lang#110620 (Document `const {}` syntax for `std::thread_local`.) - rust-lang#110721 (format panic message only once) - rust-lang#110881 (refactor(docs): remove macro resolution fallback) - rust-lang#110893 (remove inline const deadcode in typeck) - rust-lang#110898 (Remove unused std::sys_common::thread_local_key::Key) - rust-lang#110909 (Skip `rustc` version detection on macOS) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #109316
r? @jyn514