Skip to content

Commit 012ae87

Browse files
committed
Remove unused #include <trufflenfi.h> in truffleposix.c
1 parent 18f5c8a commit 012ae87

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

mx.truffleruby/suite.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,11 @@
306306
"native": True,
307307
"dir": "src/main/c",
308308
"buildDependencies": [
309-
"truffle:TRUFFLE_NFI_NATIVE", # trufflenfi.h
310309
"sulong:SULONG_BOOTSTRAP_TOOLCHAIN", # graalvm-native-clang
311310
"sulong:SULONG_HOME", # polyglot.h
312311
"TRUFFLERUBY-BOOTSTRAP-LAUNCHER",
313312
],
314313
"buildEnv": {
315-
"NFI_HEADERS_DIR": "<path:truffle:TRUFFLE_NFI_NATIVE>/include",
316314
"TRUFFLERUBY_BOOTSTRAP_LAUNCHER": "<path:TRUFFLERUBY-BOOTSTRAP-LAUNCHER>/miniruby",
317315
"GRAALVM_TOOLCHAIN_CC": "<toolchainGetToolPath:native,CC>",
318316
},

src/main/c/truffleposix/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ libtruffleposix.$(SOEXT): truffleposix.o Makefile
2626
$(Q) $(CC) -shared $(LDFLAGS) -o $@ $<
2727

2828
truffleposix.o: truffleposix.c Makefile
29-
$(Q) $(CC) -o $@ -c $(CFLAGS) $(LDFLAGS) -I$(NFI_HEADERS_DIR) -I$(RUBY_HDR_DIR) $<
29+
$(Q) $(CC) -o $@ -c $(CFLAGS) $(LDFLAGS) -I$(RUBY_HDR_DIR) $<

src/main/c/truffleposix/truffleposix.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ SUCH DAMAGE.
6969
#include <sys/sysmacros.h>
7070
#endif
7171

72-
#include <trufflenfi.h>
73-
7472
struct truffleposix_stat {
7573
uint64_t atime;
7674
uint64_t mtime;

0 commit comments

Comments
 (0)