commit | ff27757d3cf36dbc3bc970a053832ba5d6069f2e | [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> | Thu Apr 27 10:32:27 2023 +0000 |
tree | 32b2cb313cc33f26e08dc6c3ffe5da885acbf565 | |
parent | 4aa2eed13aca39cda0391e65999e7852a0c996e8 [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. Test: atest rialto_test Change-Id: 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.