From c915967d9f47153d92d360ec812f12305f8deb27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCtt?= Date: Fri, 2 Sep 2022 16:36:48 +0200 Subject: [PATCH] Fix errors on CI again --- lib/api/src/js/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/src/js/error.rs b/lib/api/src/js/error.rs index c664b7514..ffc9eeff8 100644 --- a/lib/api/src/js/error.rs +++ b/lib/api/src/js/error.rs @@ -156,7 +156,7 @@ pub enum DeserializeError { /// [link-error]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/LinkError #[derive(Debug)] #[cfg_attr(feature = "std", derive(Error))] -#[error("Link error: {0}")] +#[cfg_attr(feature = "std", error("Link error: {0}"))] pub enum LinkError { /// An error occurred when checking the import types. #[cfg_attr(feature = "std", error("Error while importing {0:?}.{1:?}: {2}"))]