aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules/thirdparty/detect-libc.linux.js
diff options
context:
space:
mode:
authorGravatar dave caruso <me@paperdave.net> 2023-06-03 00:36:05 -0400
committerGravatar GitHub <noreply@github.com> 2023-06-02 21:36:05 -0700
commitcfd73cec816cb73e0017cf306e133a7b0e5ae4eb (patch)
treeb628d48e6962f9e71e3b9b75884f684d8297e180 /src/js/out/modules/thirdparty/detect-libc.linux.js
parent3e437a6ae0d4a68f8f29c60276918d662ad7bbc7 (diff)
downloadbun-cfd73cec816cb73e0017cf306e133a7b0e5ae4eb.tar.gz
bun-cfd73cec816cb73e0017cf306e133a7b0e5ae4eb.tar.zst
bun-cfd73cec816cb73e0017cf306e133a7b0e5ae4eb.zip
fixes with hardcoded modules (#3182)
* fixes with hardcoded modules * add make hardcoded to make dev * adjust this message * remove debugging logs * this * restore2
Diffstat (limited to 'src/js/out/modules/thirdparty/detect-libc.linux.js')
-rw-r--r--src/js/out/modules/thirdparty/detect-libc.linux.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/js/out/modules/thirdparty/detect-libc.linux.js b/src/js/out/modules/thirdparty/detect-libc.linux.js
new file mode 100644
index 000000000..1c4e18a7a
--- /dev/null
+++ b/src/js/out/modules/thirdparty/detect-libc.linux.js
@@ -0,0 +1,29 @@
+function family() {
+ return Promise.resolve(familySync());
+}
+function familySync() {
+ return null;
+}
+function versionAsync() {
+ return Promise.resolve(version());
+}
+function version() {
+ return null;
+}
+function isNonGlibcLinuxSync() {
+ return !1;
+}
+function isNonGlibcLinux() {
+ return Promise.resolve(isNonGlibcLinuxSync());
+}
+var GLIBC = "glibc", MUSL = "musl";
+export {
+ versionAsync,
+ version,
+ isNonGlibcLinuxSync,
+ isNonGlibcLinux,
+ familySync,
+ family,
+ MUSL,
+ GLIBC
+};