aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bun.js/bindings/glibc-versions-hack.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bun.js/bindings/glibc-versions-hack.cpp b/src/bun.js/bindings/glibc-versions-hack.cpp
index 5da0b41fb..345321b94 100644
--- a/src/bun.js/bindings/glibc-versions-hack.cpp
+++ b/src/bun.js/bindings/glibc-versions-hack.cpp
@@ -17,6 +17,22 @@
#endif
#endif
+#if defined(__x86_64__)
+// force older pow
+__asm__(".symver pow,pow@GLIBC_2.2.5");
+#endif
+
+// ban statx, for now
+extern "C" int __wrap_statx(int fd, const char* path, int flags,
+ unsigned int mask, struct statx* buf)
+{
+ errno = ENOSYS;
+#ifdef BUN_DEBUG
+ abort();
+#endif
+ return -1;
+}
+
extern "C" int __real_fcntl(int fd, int cmd, ...);
extern "C" double __real_pow(double x, double y);
extern "C" double __real_exp(double x);
y-audit-1'>telemetry-audit-1 Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/smoke/docs-main/src/pages/ja/core-concepts (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-07-11Filter out astro from `peerDependencies` in `astro add` (#7620)Gravatar Chris Swithinbank 2-1/+7
2023-07-11[ci] formatGravatar bluwy 1-1/+1
2023-07-11Refactor simple CLI commands (#7619)Gravatar Bjorn Lu 12-115/+123
2023-07-10fix: `astro info` command fallback for package manager (#7618)Gravatar Emanuele Stoppa 2-1/+7
2023-07-10Add CLI startup speed benchmark (#7617)Gravatar Bjorn Lu 5-11/+95
2023-07-10[ci] formatGravatar bluwy 1-1/+1