We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b842722 commit a461362Copy full SHA for a461362
rust/release_crates/protobuf/build.rs
@@ -19,7 +19,9 @@ fn main() {
19
.file("libupb/third_party/utf8_range/utf8_range.c")
20
.define("UPB_BUILD_API", Some("1"))
21
.compile("libupb");
22
- let path = std::path::Path::new("libupb");
23
- println!("cargo:include={}", path.canonicalize().unwrap().display());
+
+ let path = std::path::absolute("libupb").expect("Failed to get full path to libupb");
24
25
+ println!("cargo:include={}", path.display());
26
println!("cargo:version={}", VERSION);
27
}
0 commit comments