Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@b5
Copy link
Member

@b5 b5 commented Nov 11, 2025

Description

While this will currently compile to wasm, when running in the browser, any reference to std::time will explode with unsupported platform errors, this fixes that.

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@b5 b5 marked this pull request as ready for review November 11, 2025 11:23
@github-actions
Copy link

github-actions bot commented Nov 11, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-blobs/pr/194/docs/iroh_blobs/

Last updated: 2025-11-11T15:10:57Z

@n0bot n0bot bot added this to iroh Nov 11, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Nov 11, 2025
irpc::Error::OneshotRecv { source, .. } => OneshotRecvSnafu.into_error(source),
irpc::Error::Send { source, .. } => SendSnafu.into_error(source),
irpc::Error::Request { source, .. } => RequestSnafu.into_error(source),
#[cfg(feature = "rpc")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to stay

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's the reason for the CI fails. We might want to fix this in irpc because it's a bit footgunny: The irpc::Error::Write variant is only present if the rpc feature of irpc is enabled. But for now just leave in the cfg here.

Copy link
Member

@Frando Frando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI sad, see my comment.

n0-future = "0.3.0"
n0-snafu = "0.2.2"
n0-future = "0.3.1"
n0-snafu = { version = "0.2.2", git="https://github.com/n0-computer/n0-snafu.git", branch="b5/wasm" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remember to replace this with an actual dependency before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

4 participants