diff options
author | 2022-06-22 23:21:48 -0700 | |
---|---|---|
committer | 2022-06-22 23:21:48 -0700 | |
commit | 729d445b6885f69dd2c6355f38707bd42851c791 (patch) | |
tree | f87a7c408929ea3f57bbb7ace380cf869da83c0e /src/bun.js/detect-libc.js | |
parent | 25f820c6bf1d8ec6d444ef579cc036b8c0607b75 (diff) | |
download | bun-jarred/rename.tar.gz bun-jarred/rename.tar.zst bun-jarred/rename.zip |
change the directory structurejarred/rename
Diffstat (limited to 'src/bun.js/detect-libc.js')
-rw-r--r-- | src/bun.js/detect-libc.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/bun.js/detect-libc.js b/src/bun.js/detect-libc.js new file mode 100644 index 000000000..884385189 --- /dev/null +++ b/src/bun.js/detect-libc.js @@ -0,0 +1,26 @@ +export function family() { + return Promise.resolve(null); +} + +export function familySync() { + return null; +} + +export const GLIBC = "glibc"; +export const MUSL = "musl"; + +export function versionAsync() { + return Promise.resolve(version()); +} + +export function version() { + return null; +} + +export function isNonGlibcLinuxSync() { + return false; +} + +export function isNonGlibcLinux() { + return Promise.resolve(isNonGlibcLinuxSync()); +} |