| 1 | //! ARMFORTAS runtime library (libarmfortas_rt). |
| 2 | //! |
| 3 | //! Provides C-ABI functions called by generated Fortran code: |
| 4 | //! I/O, memory management, string operations, program lifecycle. |
| 5 | //! |
| 6 | //! Built as a static library (.a) linked into every produced binary. |
| 7 | |
| 8 | // All public functions in this crate are `extern "C"` FFI entry points called |
| 9 | // from generated assembly. They accept raw pointers by design and cannot be |
| 10 | // marked `unsafe` without breaking the C calling convention contract. |
| 11 | #![allow(clippy::not_unsafe_ptr_arg_deref)] |
| 12 | #![allow(clippy::missing_safety_doc)] |
| 13 | |
| 14 | pub mod array; |
| 15 | pub mod descriptor; |
| 16 | pub mod format; |
| 17 | mod io; |
| 18 | pub mod io_system; |
| 19 | mod lifecycle; |
| 20 | mod mem; |
| 21 | pub mod string; |
| 22 | pub mod system; |
| 23 |