Skip to content

Commit f9ef817

Browse files
ok-nickcdmurph32
andauthored
test: feature flag test_reader_remote_url with feature fetch_remote_manifests (#1252)
* test: feature flag `test_reader_remote_url` with feature `fetch_remote_manifests` wasi can fetch remote manifests --------- Co-authored-by: Colin D Murphy <[email protected]>
1 parent e6c58b1 commit f9ef817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/src/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ pub mod tests {
879879
}
880880

881881
#[test]
882-
#[cfg(not(target_arch = "wasm32"))]
882+
#[cfg(feature = "fetch_remote_manifests")]
883883
fn test_reader_remote_url() -> Result<()> {
884884
let reader = Reader::from_stream("image/jpeg", Cursor::new(IMAGE_WITH_REMOTE_MANIFEST))?;
885885
let remote_url = reader.remote_url();

0 commit comments

Comments
 (0)