Skip to content

Commit

Permalink
doc: hint in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich authored Sep 12, 2023
1 parent 4d2d357 commit a6f8cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct BuildConfig {

#[derive(thiserror::Error, Debug, PartialEq, Eq, Clone)]
pub enum BuildError {
#[error("could not find WASM in release dir ({path})")]
#[error("could not find WASM in release dir ({path}). Hint: Do you have a main.rs?")]
NoWasmFound { path: PathBuf },
#[error(
r#"compressed program size ({got}) exceeds max ({want}) despite --nightly flag. We recommend splitting up your program.
Expand Down

0 comments on commit a6f8cbb

Please sign in to comment.