File: index.md

package info (click to toggle)
rust-wasmtime 28.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 54,120 kB
  • sloc: ansic: 4,071; sh: 567; javascript: 548; cpp: 280; asm: 175; ml: 96; makefile: 55
file content (51 lines) | stat: -rw-r--r-- 1,972 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Cranelift Documentation

## Miscellaneous documentation pages:

 - [Cranelift IR](ir.md)
   Cranelift IR is the data structure that most of the compiler operates on.

 - [Testing Cranelift](testing.md)
   This page documents Cranelift's testing frameworks.

 - [Cranelift compared to LLVM](compare-llvm.md)
   LLVM and Cranelift have similarities and differences.

## Cranelift crate documentation:

 - [cranelift](https://docs.rs/cranelift)
    This is an umbrella crate that re-exports the codegen and frontend crates,
    to make them easier to use.

 - [cranelift-codegen](https://docs.rs/cranelift-codegen)
    This is the core code generator crate. It takes Cranelift IR as input
    and emits encoded machine instructions, along with symbolic relocations,
    as output.

 - [cranelift-codegen-meta](https://docs.rs/cranelift-codegen-meta)
    This crate contains the meta-language utilities and descriptions used by the
    code generator.

 - [cranelift-frontend](https://docs.rs/cranelift-frontend)
    This crate provides utilities for translating code into Cranelift IR.

 - [cranelift-native](https://docs.rs/cranelift-native)
    This crate performs auto-detection of the host, allowing Cranelift to
    generate code optimized for the machine it's running on.

 - [cranelift-reader](https://docs.rs/cranelift-reader)
    This crate translates from Cranelift IR's text format into Cranelift IR
    in in-memory data structures.

 - [cranelift-module](https://docs.rs/cranelift-module)
    This crate manages compiling multiple functions and data objects
    together.

 - [cranelift-object](https://docs.rs/cranelift-object)
    This crate provides a object-based backend for `cranelift-module`, which
    emits native object files using the
    [object](https://github.com/gimli-rs/object) library.

 - [cranelift-jit](https://docs.rs/cranelift-jit)
    This crate provides a JIT backend for `cranelift-module`, which
    emits code and data into memory.