Skip to content

Make build errors more obvious #18

Open
@bschwind

Description

@bschwind

When using the "bundled" feature flag, we build webrtc-audio-processing from source.

However, if you're missing a tool like autotools or libtoolize, you get an unhelpful:

error: failed to run custom build command for `webrtc-audio-processing-sys v0.3.0`
Caused by:
  process didn't exit successfully: `$PROJECT/target/release/build/webrtc-audio-processing-sys-7c56c0aca102fa66/build-script-build` (exit code: 1)
--- stderr
Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }

We can add nicer expect messages in build.rs to improve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions