Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3a8d5a

Browse files
authored
Retry to fix win_lib_path again (RustPython#5076)
1 parent0d0139b commitc3a8d5a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎pylib/build.rs‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ fn main() {
1212

1313
ifcfg!(windows){
1414
ifletOk(real_path) = std::fs::read_to_string("Lib"){
15-
println!("cargo:rustc-env=win_lib_path={real_path:?}");
15+
let canonicalized_path = std::fs::canonicalize(real_path)
16+
.expect("failed to resolve RUSTPYTHONPATH during build time");
17+
println!(
18+
"cargo:rustc-env=win_lib_path={}",
19+
canonicalized_path.to_str().unwrap()
20+
);
1621
}
1722
}
1823
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp