mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 22:40:09 +01:00
fix: use ; as delimiter on windows for _PR_LIB (github #37)
Co-authored-by: iff <iff@ik.me>
This commit is contained in:
parent
737440869c
commit
d76a244a1a
3 changed files with 22 additions and 5 deletions
|
|
@ -123,7 +123,7 @@ fn path_env() -> String {
|
|||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
fn path_env_sep() -> &'static str {
|
||||
pub fn path_env_sep() -> &'static str {
|
||||
if is_msystem() {
|
||||
":"
|
||||
} else {
|
||||
|
|
@ -132,7 +132,7 @@ fn path_env_sep() -> &'static str {
|
|||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
fn path_convert(path: &str) -> String {
|
||||
pub fn path_convert(path: &str) -> String {
|
||||
if is_msystem() {
|
||||
msys2_conv_path(path).expect("Failed to convert path for msys")
|
||||
} else {
|
||||
|
|
@ -164,6 +164,6 @@ fn path_env() -> String {
|
|||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
fn path_env_sep() -> &'static str {
|
||||
pub fn path_env_sep() -> &'static str {
|
||||
":"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue