@thi.ng/wasm-api 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/zig/zig-cache/h/e5c1e7746360b4e8cb7bef6cb6cfdeb6.txt +0 -0
- package/zig/zig-cache/o/436d1d779b9beb6e530e684e246a5d30/builtin.zig +115 -0
- package/zig/zig-cache/o/acdd995b96100aa4acdf8b4c71f8cc3f/dependencies.zig +4 -0
- package/zig/zig-cache/z/4eb978ee2352d5a0d2c0f9b62259aa42 +0 -0
- package/zig/zig-cache/z/638ca913ea12051c72064ed6b2f4f0a9 +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/wasm-api",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
4
4
|
"description": "Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"test:build-zig": "zig build-lib -O ReleaseSmall -target wasm32-freestanding -dynamic --strip --pkg-begin wasmapi zig/lib.zig --pkg-end test/custom.zig && wasm-dis -o custom.wast custom.wasm && cp custom.wasm test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.
|
|
39
|
-
"@thi.ng/arrays": "^2.5.
|
|
38
|
+
"@thi.ng/api": "^8.8.0",
|
|
39
|
+
"@thi.ng/arrays": "^2.5.11",
|
|
40
40
|
"@thi.ng/checks": "^3.3.12",
|
|
41
41
|
"@thi.ng/errors": "^2.2.15",
|
|
42
42
|
"@thi.ng/hex": "^2.3.9",
|
|
43
|
-
"@thi.ng/idgen": "^2.1.
|
|
43
|
+
"@thi.ng/idgen": "^2.1.32",
|
|
44
44
|
"@thi.ng/logger": "^1.4.13"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"status": "alpha",
|
|
116
116
|
"year": 2022
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "3a56bc490f1e68754762a503d06327b5b34ff7eb\n"
|
|
119
119
|
}
|
|
File without changes
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
const std = @import("std");
|
|
2
|
+
/// Zig version. When writing code that supports multiple versions of Zig, prefer
|
|
3
|
+
/// feature detection (i.e. with `@hasDecl` or `@hasField`) over version checks.
|
|
4
|
+
pub const zig_version = std.SemanticVersion.parse(zig_version_string) catch unreachable;
|
|
5
|
+
pub const zig_version_string = "0.11.0-dev.2460+55a8b7e1f";
|
|
6
|
+
pub const zig_backend = std.builtin.CompilerBackend.stage2_llvm;
|
|
7
|
+
|
|
8
|
+
pub const output_mode = std.builtin.OutputMode.Exe;
|
|
9
|
+
pub const link_mode = std.builtin.LinkMode.Dynamic;
|
|
10
|
+
pub const is_test = false;
|
|
11
|
+
pub const single_threaded = false;
|
|
12
|
+
pub const abi = std.Target.Abi.none;
|
|
13
|
+
pub const cpu: std.Target.Cpu = .{
|
|
14
|
+
.arch = .aarch64,
|
|
15
|
+
.model = &std.Target.aarch64.cpu.apple_a14,
|
|
16
|
+
.features = std.Target.aarch64.featureSet(&[_]std.Target.aarch64.Feature{
|
|
17
|
+
.aes,
|
|
18
|
+
.aggressive_fma,
|
|
19
|
+
.alternate_sextload_cvt_f32_pattern,
|
|
20
|
+
.altnzcv,
|
|
21
|
+
.am,
|
|
22
|
+
.arith_bcc_fusion,
|
|
23
|
+
.arith_cbz_fusion,
|
|
24
|
+
.ccdp,
|
|
25
|
+
.ccidx,
|
|
26
|
+
.ccpp,
|
|
27
|
+
.complxnum,
|
|
28
|
+
.contextidr_el2,
|
|
29
|
+
.crc,
|
|
30
|
+
.crypto,
|
|
31
|
+
.disable_latency_sched_heuristic,
|
|
32
|
+
.dit,
|
|
33
|
+
.dotprod,
|
|
34
|
+
.el2vmsa,
|
|
35
|
+
.el3,
|
|
36
|
+
.flagm,
|
|
37
|
+
.fp16fml,
|
|
38
|
+
.fp_armv8,
|
|
39
|
+
.fptoint,
|
|
40
|
+
.fullfp16,
|
|
41
|
+
.fuse_address,
|
|
42
|
+
.fuse_adrp_add,
|
|
43
|
+
.fuse_aes,
|
|
44
|
+
.fuse_arith_logic,
|
|
45
|
+
.fuse_crypto_eor,
|
|
46
|
+
.fuse_csel,
|
|
47
|
+
.fuse_literals,
|
|
48
|
+
.jsconv,
|
|
49
|
+
.lor,
|
|
50
|
+
.lse,
|
|
51
|
+
.lse2,
|
|
52
|
+
.mpam,
|
|
53
|
+
.neon,
|
|
54
|
+
.nv,
|
|
55
|
+
.pan,
|
|
56
|
+
.pan_rwv,
|
|
57
|
+
.pauth,
|
|
58
|
+
.perfmon,
|
|
59
|
+
.predres,
|
|
60
|
+
.ras,
|
|
61
|
+
.rcpc,
|
|
62
|
+
.rcpc_immo,
|
|
63
|
+
.rdm,
|
|
64
|
+
.sb,
|
|
65
|
+
.sel2,
|
|
66
|
+
.sha2,
|
|
67
|
+
.sha3,
|
|
68
|
+
.specrestrict,
|
|
69
|
+
.ssbs,
|
|
70
|
+
.tlb_rmi,
|
|
71
|
+
.tracev8_4,
|
|
72
|
+
.uaops,
|
|
73
|
+
.v8_1a,
|
|
74
|
+
.v8_2a,
|
|
75
|
+
.v8_3a,
|
|
76
|
+
.v8_4a,
|
|
77
|
+
.v8a,
|
|
78
|
+
.vh,
|
|
79
|
+
.zcm,
|
|
80
|
+
.zcz,
|
|
81
|
+
.zcz_gp,
|
|
82
|
+
}),
|
|
83
|
+
};
|
|
84
|
+
pub const os = std.Target.Os{
|
|
85
|
+
.tag = .macos,
|
|
86
|
+
.version_range = .{ .semver = .{
|
|
87
|
+
.min = .{
|
|
88
|
+
.major = 13,
|
|
89
|
+
.minor = 3,
|
|
90
|
+
.patch = 1,
|
|
91
|
+
},
|
|
92
|
+
.max = .{
|
|
93
|
+
.major = 13,
|
|
94
|
+
.minor = 3,
|
|
95
|
+
.patch = 1,
|
|
96
|
+
},
|
|
97
|
+
}},
|
|
98
|
+
};
|
|
99
|
+
pub const target = std.Target{
|
|
100
|
+
.cpu = cpu,
|
|
101
|
+
.os = os,
|
|
102
|
+
.abi = abi,
|
|
103
|
+
.ofmt = object_format,
|
|
104
|
+
};
|
|
105
|
+
pub const object_format = std.Target.ObjectFormat.macho;
|
|
106
|
+
pub const mode = std.builtin.Mode.Debug;
|
|
107
|
+
pub const link_libc = true;
|
|
108
|
+
pub const link_libcpp = false;
|
|
109
|
+
pub const have_error_return_tracing = true;
|
|
110
|
+
pub const valgrind_support = false;
|
|
111
|
+
pub const sanitize_thread = false;
|
|
112
|
+
pub const position_independent_code = true;
|
|
113
|
+
pub const position_independent_executable = true;
|
|
114
|
+
pub const strip_debug_info = false;
|
|
115
|
+
pub const code_model = std.builtin.CodeModel.default;
|
|
Binary file
|
|
Binary file
|