mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 06:49:23 +00:00
WASI: include exec-model in cache state.
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
parent
af20fdbce7
commit
5c34c01179
@ -1123,6 +1123,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation {
|
||||
cache.hash.add(options.machine_code_model);
|
||||
cache.hash.addOptionalEmitLoc(options.emit_bin);
|
||||
cache.hash.addBytes(options.root_name);
|
||||
if (options.target.os.tag == .wasi) cache.hash.add(wasi_exec_model);
|
||||
// TODO audit this and make sure everything is in it
|
||||
|
||||
const module: ?*Module = if (options.root_pkg) |root_pkg| blk: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user