Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grovedbg build fix #313

Merged
merged 2 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion grovedb/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use std::{
env,
path::PathBuf,
process::{Command, ExitStatus, Output},

Check warning on line 6 in grovedb/build.rs

View workflow job for this annotation

GitHub Actions / clippy

unused import: `ExitStatus`

warning: unused import: `ExitStatus` --> grovedb/build.rs:6:28 | 6 | process::{Command, ExitStatus, Output}, | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
};

let out_dir = PathBuf::from(&env::var_os("OUT_DIR").unwrap());
Expand All @@ -24,7 +24,8 @@
if !status.success() {
let stdout_msg = String::from_utf8_lossy(&stdout);
let stderr_msg = String::from_utf8_lossy(&stderr);
panic!("Error running `trunk build --release`\n{stdout_msg}\n{stderr_msg}");
let bindgen_version = env::var_os("TRUNK_TOOLS_WASM_BINDGEN").unwrap_or_default();
panic!("Error running `trunk build --release`\nbindgen version:{bindgen_version:?}\n{stdout_msg}\n{stderr_msg}");
}

let zip_file = out_dir.join("grovedbg.zip");
Expand Down
2 changes: 1 addition & 1 deletion grovedb/grovedbg
Submodule grovedbg updated 2 files
+1 −0 .gitignore
+1 −1 Cargo.toml
Loading