CTFE core engine allocation & memory API improvemenets

- make Allocation API offset-based (no more Pointer)
- make Memory API higher-level (combine checking for access and getting access into one operation)
This commit is contained in:
Ralf Jung
2021-05-16 18:53:20 +02:00
parent 5f10d310f4
commit 46c2286395
18 changed files with 569 additions and 494 deletions

View File

@@ -21,6 +21,8 @@ Rust MIR: a lowered representation of Rust.
#![feature(never_type)]
#![feature(map_try_insert)]
#![feature(min_specialization)]
#![feature(slice_ptr_len)]
#![feature(slice_ptr_get)]
#![feature(trusted_len)]
#![feature(try_blocks)]
#![feature(associated_type_defaults)]