From 02eca0c1bda81e346db77a2d390b8b42c63b7d77 Mon Sep 17 00:00:00 2001 From: Christoph Herzog Date: Thu, 26 Sep 2024 12:40:41 +0200 Subject: [PATCH] docs: Add comment on MultiSource error behaviour --- lib/wasix/src/runtime/resolver/multi_source.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/wasix/src/runtime/resolver/multi_source.rs b/lib/wasix/src/runtime/resolver/multi_source.rs index be18b912030..ed450f5d24b 100644 --- a/lib/wasix/src/runtime/resolver/multi_source.rs +++ b/lib/wasix/src/runtime/resolver/multi_source.rs @@ -87,6 +87,9 @@ impl Source for MultiSource { { continue } + // Generic errors do not respect the `merge_results` strategy + // flag, because unexpected errors should be bubbled to the + // caller. Err(e) => return Err(e), } }