Skip to main content

Module minirust

Module minirust 

Source
Expand description

Translate a monomorphized ULLBC crate into MiniRust program.

Unsupported features (we translate this incorrectly):

  • Pointers to statics that aren’t at offset 0;

Unsupported features (will raise an error):

  • dyn Trait;
  • Unsized ADTs;
  • Packed and overaligned layouts;
  • ub_checks/contract_checks/overflow_checks booleans values;
  • Unions, because of precise union padding;

ModulesΒ§

mini πŸ”’
types πŸ”’

MacrosΒ§

check πŸ”’
raise πŸ”’

StructsΒ§

TranslateCtx πŸ”’

EnumsΒ§

RunError

FunctionsΒ§

align_bytes πŸ”’
mini_align πŸ”’
mini_int πŸ”’
mini_size πŸ”’
name πŸ”’
run
serialize
size_bytes πŸ”’

Type AliasesΒ§

Result πŸ”’