]> git.lizzy.rs Git - rust.git/commit
bootstrap: only use compiler-builtins-c if they exist
authorGeorge Burgess IV <gbiv@google.com>
Sun, 11 Oct 2020 19:05:31 +0000 (12:05 -0700)
committerGeorge Burgess IV <gbiv@google.com>
Sun, 11 Oct 2020 19:36:13 +0000 (12:36 -0700)
commitca5478a5dffd322c9b371b44af9b4ea963a0ee47
tree099425044cc1348f8f911e464f0bd35b3e08f9b1
parent8cc82ee340ed96099680ec1165cf5e192d658d0f
bootstrap: only use compiler-builtins-c if they exist

The assignment of `features` above was added in rust-lang#60981, but
never used. Presumably the intent was to replace the string literal here
with it.

While I'm in the area, `compiler_builtins_c_feature` doesn't need to be
a `String`.
src/bootstrap/compile.rs