mod.rs 1.17 KB
Newer Older
Isaac Oscar Gariano's avatar
Isaac Oscar Gariano committed
1
// Copyright 2017 The Australian National University
2
//
Isaac Oscar Gariano's avatar
Isaac Oscar Gariano committed
3 4 5
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
6
//
Isaac Oscar Gariano's avatar
Isaac Oscar Gariano committed
7
//     http://www.apache.org/licenses/LICENSE-2.0
8
//
Isaac Oscar Gariano's avatar
Isaac Oscar Gariano committed
9 10 11 12 13 14
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

qinsoon's avatar
qinsoon committed
15
/// vm module: storing metadata, implementing APIs
qinsoon's avatar
qinsoon committed
16
mod vm;
qinsoon's avatar
qinsoon committed
17 18 19 20
/// re-export VM. VM stores metadata for a running Zebu instance,
/// which includes types, globals, functions/IRs, compiled functions
/// and other runtime table (exception table etc)
pub use vm::vm::VM;
21
pub mod uir_output;
qinsoon's avatar
qinsoon committed
22
/// vm_options defines commandline flags to create a new Zebu instance
qinsoon's avatar
qinsoon committed
23
mod vm_options;
24

25 26 27
/// built info from cargo
pub mod built_info;

qinsoon's avatar
qinsoon committed
28
/// api module implements the C functions in muapi.h exposed as Mu API
qinsoon's avatar
qinsoon committed
29
pub mod api;
qinsoon's avatar
qinsoon committed
30

qinsoon's avatar
qinsoon committed
31
/// handle type for client. This handle type is opaque to the client
Isaac Oscar Gariano's avatar
Isaac Oscar Gariano committed
32
pub mod handle;