]> git.lizzy.rs Git - rust.git/commit
Find codegen backends in more locations
authorbjorn3 <bjorn3@users.noreply.github.com>
Mon, 1 Feb 2021 18:29:31 +0000 (19:29 +0100)
committerbjorn3 <bjorn3@users.noreply.github.com>
Mon, 1 Feb 2021 18:29:31 +0000 (19:29 +0100)
commit7f19a2d2de32ea61a8c9b8bca44a13894954b3be
treea4d4c91a81d47af411bb4d9c1b7f432ea91a3c83
parent1fe1fa9122b8ea0cac7e7e92be798a44cc89831c
Find codegen backends in more locations

* Search in the sysroot passed using `--sysroot` in addition to the
  default sysroot.
* Search for `librustc_codegen_$name.so` in addition to
  `librustc_codegen_$name-$release.so`.
compiler/rustc_driver/src/lib.rs
compiler/rustc_interface/src/util.rs