build(zig): expose wasmtimeDep function
This allows consumers to reuse the dependency.
(cherry picked from commit dab84a1b10)
This commit is contained in:
parent
d5b8c19d0b
commit
f764f485d2
1 changed files with 2 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ pub fn build(b: *std.Build) !void {
|
|||
b.installArtifact(lib);
|
||||
}
|
||||
|
||||
fn wasmtimeDep(target: std.Target) []const u8 {
|
||||
/// Get the name of the wasmtime dependency for this target.
|
||||
pub fn wasmtimeDep(target: std.Target) []const u8 {
|
||||
const arch = target.cpu.arch;
|
||||
const os = target.os.tag;
|
||||
const abi = target.abi;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue