Repository navigation
Expand file tree
/
Copy pathroot.zig
More file actions
53 lines (48 loc) · 2.1 KB
/
Copy pathroot.zig
File metadata and controls
53 lines (48 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! One execution contract for every target that runs compiled Choir code.
//!
//! A default-qualified consumer builds `native.Runtime` with its limits, compiles or loads
//! modules into it, and calls through a checked pointer or checked call. It never names an
//! instruction set. Apple scalar execution has a target but no default product policy: an
//! inspected startup-linked, non-hardened product must call `initWithExecutablePolicy` with
//! its supported declaration. Ordinary `init` refuses that unverified mode before allocation;
//! `native.available` and `native.reason` describe ordinary initialization.
const host = @import("host.zig");
const image = @import("image.zig");
const runtime = @import("runtime.zig");
const target = @import("target.zig");
const value = @import("value.zig");
pub const Limits = @import("limits.zig").Limits;
pub const Handle = image.Handle;
pub const Emitted = image.Emitted;
pub const Placement = image.Placement;
pub const Homes = image.Homes;
pub const Value = value.Value;
pub const Vector = value.Vector;
pub const check = value.check;
pub const agrees = value.agrees;
pub const Runtime = runtime.Runtime;
pub const Refusal = runtime.Refusal;
pub const Math = runtime.Math;
pub const BindError = runtime.BindError;
pub const Reported = runtime.Reported;
pub const UnavailableError = runtime.UnavailableError;
pub const CapacityError = runtime.CapacityError;
pub const HandleError = runtime.HandleError;
pub const LookupError = runtime.LookupError;
pub const CallError = runtime.CallError;
pub const SymbolError = runtime.SymbolError;
pub const InitError = runtime.InitError;
pub const LoadError = runtime.LoadError;
pub const CompileError = runtime.CompileError;
pub const assertTarget = target.assertTarget;
pub const Bound = target.Bound;
pub const Bounds = target.Bounds;
pub const Excess = target.Excess;
pub const Refused = target.Refused;
pub const Unavailable = target.Unavailable;
pub const Builtin = target.Builtin;
pub const Failure = target.Failure;
pub const LowerError = target.LowerError;
pub const native = host.native;
pub const Select = host.Select;
pub const reason = host.reason;