commit | abc85d56e80e3663b06cc7a2384e8daf4b0577f2 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Thu Apr 27 10:06:44 2023 +0000 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Tue May 09 13:27:16 2023 +0000 |
tree | 77b1e006321c7c46d86f6b96afafd3272491fda7 | |
parent | 238a321f11eba84aafe83295b533f90c969f1584 [diff] |
rialto: Initialize heap when entering main() As the Rust environment is only fully ready once the global_allocator has been initialized, call init_heap() as soon as we enter main() to avoid calling functions (possibly from other crates) that use alloc. Remove logging from init_heap() as the logger won't be up at that point. Bug: 271493784 Test: atest rialto_test Change-Id: I096c502024e6a57a68027422994694d90b345a9e Merged-In: I096c502024e6a57a68027422994694d90b345a9e
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.