
louise
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runRéussi#1201 · main · 9 min 57 s
1Étoiles
0Forks
0Issues
| 1 | //! Louise runtime (`louise_rt`). |
| 2 | //! |
| 3 | //! Linked as a staticlib into every compiled Louise program. The C ABI is |
| 4 | //! defined by `include/louise_rt.h` and explained in `docs/runtime-abi.md`; |
| 5 | //! [`abi`] mirrors its layouts. |
| 6 | //! |
| 7 | //! **Where `unsafe` is.** A function that may dereference a context |
| 8 | //! (`*mut Ctx`), a [`abi::Value`] or another raw pointer is `unsafe`, and |
| 9 | //! its `# Safety` section says what the caller guarantees: usually "the |
| 10 | //! running actor's context" and "a live string" (borrowed) or "owned". |
| 11 | //! Functions that only allocate and fill a fresh block are safe even |
| 12 | //! though they take a context: [`heap::tl_alloc`] never reads it (the |
| 13 | //! runtime passes null when it builds a message outside any actor). |
| 14 | //! |
| 15 | //! The runtime keeps contexts as raw pointers rather than turning them into |
| 16 | //! `&mut Ctx` at each entry point: generated C, closures and callbacks the |
| 17 | //! runtime calls write to the same context, which a live `&mut Ctx` held |
| 18 | //! across those calls would forbid. |
| 19 | |
| 20 | pub mod abi; |
| 21 | pub mod array; |
| 22 | pub mod blocking; |
| 23 | pub mod builder; |
| 24 | pub mod bytes; |
| 25 | pub mod callback; |
| 26 | pub mod checked; |
| 27 | pub mod clock; |
| 28 | pub(crate) mod console; |
| 29 | pub mod crypto; |
| 30 | pub mod ctx; |
| 31 | pub mod dec; |
| 32 | pub(crate) mod dist; |
| 33 | pub mod effects; |
| 34 | pub(crate) mod fiber; |
| 35 | pub mod fs; |
| 36 | pub mod handlers; |
| 37 | pub(crate) mod handoff; |
| 38 | pub mod heap; |
| 39 | pub mod http; |
| 40 | pub(crate) mod inbox; |
| 41 | pub mod int; |
| 42 | pub mod net; |
| 43 | pub mod node; |
| 44 | pub(crate) mod otp; |
| 45 | pub(crate) mod park; |
| 46 | pub mod prims; |
| 47 | pub mod process; |
| 48 | pub mod region; |
| 49 | pub mod resource; |
| 50 | pub mod sched; |
| 51 | pub(crate) mod send; |
| 52 | pub mod signals; |
| 53 | #[cfg(feature = "tls")] |
| 54 | pub(crate) mod sock; |
| 55 | pub mod table; |
| 56 | pub(crate) mod timers; |
| 57 | pub mod tls; |
| 58 | #[cfg(feature = "tls")] |
| 59 | pub(crate) mod transport; |
| 60 | pub mod u64; |
| 61 | pub mod values; |
| 62 | pub(crate) mod wire; |