Fix build of wasi-nn

This commit is contained in:
Alex Crichton
2021-02-17 14:16:18 -08:00
committed by Andrew Brown
parent fa98f0bc91
commit 250f11c572
5 changed files with 10 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ use wiggle::GuestPtr;
#[derive(Debug, Error)]
pub enum UsageError {
#[error("Only OpenVINO's IR is currently supported, passed encoding: {0}")]
#[error("Only OpenVINO's IR is currently supported, passed encoding: {0:?}")]
InvalidEncoding(GraphEncoding),
#[error("OpenVINO expects only two buffers (i.e. [ir, weights]), passed: {0}")]
InvalidNumberOfBuilders(u32),