Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.01 KB

File metadata and controls

44 lines (32 loc) · 1.01 KB

Compilation and codegen

The front doors — rust"""...""", @rust, @irust — and the pipeline behind them: the rustc invocation and the ccall expressions generated from the FFI manifest.

rust"""...""" and @irust (src/ruststr.jl)

Modules = [RustCall]
Pages = [joinpath("src", "ruststr.jl")]

@rust (src/rustmacro.jl)

Modules = [RustCall]
Pages = [joinpath("src", "rustmacro.jl")]

Compiler (src/compiler.jl)

Modules = [RustCall]
Pages = [joinpath("src", "compiler.jl")]

rustc diagnostics (src/rustc_json.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")]

Code generation (src/codegen.jl)

Modules = [RustCall]
Pages = [joinpath("src", "codegen.jl")]