/io_uring

The io_uring library for Mojo

Primary LanguageMojoOtherNOASSERTION

io_uring

This is a Linux io_uring userspace interface for Mojo.

This repo includes source code for:

  • linux_raw (Linux userspace API)
  • mojix (I/O wrappers)
  • io_uring

Environment

For Mojo LSP to work correctly in editors like Helix some environment variables need to be set/modified. You can use direnv or look at the .envrc file for values.

Tests

magic run mojo test -D ASSERT=all -I .

Some tests do not work with the test framework and require a separate file:

magic run mojo -D ASSERT=all -I . run_tests.mojo

Requirements

Currently only x86_64 platform is supported. Mojo nightly builds are required.

License

This repository is licensed under the Apache License v2.0 with LLVM Exceptions (see the LLVM License).