diff options
author | 2021-11-02 22:53:53 -0700 | |
---|---|---|
committer | 2021-11-02 22:53:53 -0700 | |
commit | b107ac16599b67cd050977531914b774adcceead (patch) | |
tree | b7f30f13573c49499348b4759445966ea222a43e | |
parent | 5537c03569e45bf73e490f58ac86d5cf661fa4ab (diff) | |
download | bun-b107ac16599b67cd050977531914b774adcceead.tar.gz bun-b107ac16599b67cd050977531914b774adcceead.tar.zst bun-b107ac16599b67cd050977531914b774adcceead.zip |
[internal] Inline empty function
-rw-r--r-- | src/global.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.zig b/src/global.zig index 638bb1ae7..5d2370b53 100644 --- a/src/global.zig +++ b/src/global.zig @@ -418,7 +418,7 @@ pub const Global = struct { // Keeping this code for: // 1. documentation that an attempt was made // 2. if I want to configure allocator later - pub fn configureAllocator(config: AllocatorConfiguration) void { + pub inline fn configureAllocator(config: AllocatorConfiguration) void { // if (comptime !use_mimalloc) return; // const Mimalloc = @import("./allocators/mimalloc.zig"); // Mimalloc.mi_option_set_enabled(Mimalloc.mi_option_verbose, config.verbose); |