Conversation
#837 just confirmed that the ppc64 failure is unrelated, not sure about the macos one: |
@Keruspe To figure out the crash on macOS, open |
I created another project to toy with the CI.
The ubuntu and windows builders pass all the tests just fine. Apart from the ppc64, the other cross compilation targets pass fine too. I'm not really familiar with debugging macos issues so I don't really know where to start |
Here are the errors I'm getting on my macOS machine: https://gist..com/stjepang/bbe3f07c947b2fd93a47b2e667f4428a |
@stjepang with this last commit, tests pass for OSX. Looks like |
Just opened smol-rs/async-io#4 as an alternative workaround |
@stjepang maybe the timers could live in their own crate? that way we could use them in the non runtime build, without pulling in anything else. |
@dignifiedquire Timers live in the |
With the switch to async-executor, the code is simpler, we gain more integration with smol 0.3, but the caveat is that tasks spawned onto the multi-threaded global executor cannot run local tasks anymore (since async-executor can only run the multi-threaded executor or the local executor on a thread but not both, so the runtime threads now only runs the global multi-threaded one) |
With something like smol-rs/async-executor#3 + reverting the |
What if we restrict That would simplify things because only |
@stjepang What about returning an |
Uh oh!
There was an error while loading. Please reload this page.
and add a CI check for it Fixes async-rs#842 Signed-off-by: Marc-Antoine Perennou <[email protected]>
Signed-off-by: Marc-Antoine Perennou <[email protected]>
Signed-off-by: Marc-Antoine Perennou <[email protected]>
Signed-off-by: Marc-Antoine Perennou <[email protected]>
Signed-off-by: Marc-Antoine Perennou <[email protected]>
Signed-off-by: Marc-Antoine Perennou <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, and seems to be working as before
Something to be aware of in case you see issues related to Timers: smol-rs/async-io#6 |
smol now being divided in smaller crates, I tried porting async-std to those.
The async-io and blocking parts work fine and all tests seem to pass.
As of now, there are some tests hanging, namely because when we spawn a future from inside a block_on, it seems not to be polled, haven't figured out why yet.
The tokio enter function is directly copied from smol