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.
2 parents 65de89c + 0c46b35 commit 21a7495Copy full SHA for 21a7495
src/minion-ffi/build.rs
@@ -1,6 +1,6 @@
1
fn main() {
2
let crate_root = std::env::var("CARGO_MANIFEST_DIR").unwrap();
3
- let out_file = format!("../../target/minion-ffi.h"); //TODO better path
+ let out_file = "../../target/minion-ffi.h".to_string(); //TODO better path
4
cbindgen::generate(crate_root)
5
.expect("was unable to generate bindings")
6
.write_to_file(out_file);
toolchains/g++/detect.sh
#!/usr/bin/env bash
-gpp_path=$( which g++ )
+gpp_path=$( command -v g++ )
if [[ -z "$gpp_path" ]]; then
echo "g++ not found";
exit 1;
0 commit comments