Skip to content

Commit

Permalink
Lets see what's going on
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Jul 26, 2023
1 parent d513783 commit 1aee44c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1

jobs:
build:
Expand Down
5 changes: 5 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ pub fn link_rustc_lib() {
let rustup_lib = [&rustup_home, "toolchains", &rustup_tc, "lib"]
.into_iter()
.collect::<PathBuf>();
eprint!("Found the library files: ");
for file in std::fs::read_dir(&rustup_lib).expect("Rustup lib dir does not exist") {
eprint!("{}, ", file.unwrap().file_name().to_string_lossy());
}
eprintln!();
add_link_path_for_compiler_binaries(rustup_lib.display());

// While we hard-code the above for development purposes, for a release/install we look
Expand Down

0 comments on commit 1aee44c

Please sign in to comment.