Disable build file config runs for WASI (#1102)
This commit is contained in:
parent
8b5c649805
commit
99af009232
@ -269,6 +269,8 @@ pub fn applySave(self: *DocumentStore, handle: *const Handle) !void {
|
||||
/// Invalidates all build files. Used to rerun
|
||||
/// upon changing the zig exe path via a configuration request.
|
||||
pub fn invalidateBuildFiles(self: *DocumentStore) void {
|
||||
if (!std.process.can_spawn) return;
|
||||
|
||||
var it = self.build_files.iterator();
|
||||
|
||||
while (it.next()) |entry| {
|
||||
|
Loading…
Reference in New Issue
Block a user