const Environment = @import("./env.zig"); const std = @import("std"); fn NewTimer() type { if (Environment.isWasm) { return struct { pub fn start() anyerror!@This() { return @This(){}; } pub fn read(_: anytype) u64 { @compileError("FeatureFlags.tracing should be disabled in WASM"); } pub fn lap(_: anytype) u64 { @compileError("FeatureFlags.tracing should be disabled in WASM"); } pub fn reset(_: anytype) u64 { @compileError("FeatureFlags.tracing should be disabled in WASM"); } }; } return std.time.Timer; } pub const Timer = NewTimer(); 'ansg191/system-store'>ansg191/system-store Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/test/snippets/lodash-regexp.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-08-17Update nodejs compat docs with ttyGravatar Colin McDonnell 1-1/+1
2023-08-17Improve test documentationGravatar Colin McDonnell 2-24/+63
2023-08-17Update Astro guideGravatar Colin McDonnell 1-1/+5
2023-08-17Allow IncomingRequest.req to be overwritten. (#4154)Gravatar dave caruso 3-8/+21
2023-08-17Fix(node:fs): add buffer parameter in fs.read callback. (#4191)Gravatar Ai Hoshino 3-5/+151
2023-08-17refactor: move HTMLRewriter to c++ bindings (#4193)Gravatar Brúnó Salomon 16-1127/+4961
2023-08-17Fix description for executables pageGravatar Colin McDonnell 1-1/+1