-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
25 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
diff --git a/helix-loader/src/lib.rs b/helix-loader/src/lib.rs | ||
index 0e7c134..e3bbdd8 100644 | ||
index 0e7c134d..2b2f0728 100644 | ||
--- a/helix-loader/src/lib.rs | ||
+++ b/helix-loader/src/lib.rs | ||
@@ -70,7 +70,7 @@ fn prioritize_runtime_dirs() -> Vec<PathBuf> { | ||
let exe_rt_dir = std::env::current_exe() | ||
.ok() | ||
.and_then(|path| std::fs::canonicalize(path).ok()) | ||
- .and_then(|path| path.parent().map(|path| path.to_path_buf().join(RT_DIR))) | ||
+ .and_then(|path| path.parent().map(|path| path.to_path_buf().join("../lib/helix/runtime"))) | ||
.unwrap(); | ||
rt_dirs.push(exe_rt_dir); | ||
rt_dirs | ||
@@ -39,7 +39,7 @@ pub fn initialize_log_file(specified_file: Option<PathBuf>) { | ||
/// | ||
/// Postcondition: returns at least two paths (they might not exist). | ||
fn prioritize_runtime_dirs() -> Vec<PathBuf> { | ||
- const RT_DIR: &str = "runtime"; | ||
+ const RT_DIR: &str = "../lib/helix/runtime"; | ||
// Adding higher priority first | ||
let mut rt_dirs = Vec::new(); | ||
if let Ok(dir) = std::env::var("CARGO_MANIFEST_DIR") { |