Make runtime_dir
private
This commit is contained in:
parent
716067ba05
commit
4a40e935de
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ pub fn find_root(root: Option<&str>) -> Option<std::path::PathBuf> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(embed_runtime))]
|
#[cfg(not(embed_runtime))]
|
||||||
pub fn runtime_dir() -> std::path::PathBuf {
|
fn runtime_dir() -> std::path::PathBuf {
|
||||||
if let Ok(dir) = std::env::var("HELIX_RUNTIME") {
|
if let Ok(dir) = std::env::var("HELIX_RUNTIME") {
|
||||||
return dir.into();
|
return dir.into();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue