fix: use ; as delimiter on windows for _PR_LIB (github #37)

Co-authored-by: iff <iff@ik.me>
This commit is contained in:
Cody Duong 2025-03-05 16:34:29 -06:00 committed by GitHub
parent 737440869c
commit d76a244a1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 5 deletions

View file

@ -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 {
":"
}