We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d4f5f commit 8e77eebCopy full SHA for 8e77eeb
src/lib.rs
@@ -182,8 +182,9 @@ pub struct GccCodegenBackend {
182
static LTO_SUPPORTED: AtomicBool = AtomicBool::new(false);
183
184
fn libgccjit_path(sysroot_path: &Path, target_triple: &str) -> PathBuf {
185
- let sysroot_lib_dir = sysroot_path.join("lib");
186
- sysroot_lib_dir.join(target_triple).join("libgccjit.so")
+ let sysroot_lib_dir = sysroot_path.join("lib").join("rustlib");
+ let libgccjit_target_lib_file =
187
+ sysroot_lib_dir.join(target_triple).join("lib").join("libgccjit.so");
188
}
189
190
fn load_libgccjit_if_needed(sysroot_path: &Path, target_triple: &str) {
0 commit comments