What the front doors run: the rustc invocation, the
compiler's diagnostics read as data, and the ccall expressions generated from
the FFI manifest.
Modules = [RustCall]
Pages = [joinpath("src", "compiler.jl")]
rustc --error-format=json output, read as data. This is what lets @irust
ask the compiler for a snippet's type instead of guessing it from the source
(#348).
Modules = [RustCall]
Pages = [joinpath("src", "rustc_json.jl")]
Modules = [RustCall]
Pages = [joinpath("src", "codegen.jl")]
A generated module binds the crate's items under their own names, so the code
it emits reaches Base, Core, RustCall and PythonCall only through names no Rust
identifier can spell: a GlobalRef in @rust_crate and the PyO3 host, a
rustcall′Base / rustcall′RustCall alias in a file written by
write_bindings_to_file (#528).
Modules = [RustCall]
Pages = [joinpath("src", "emitted_names.jl")]