-
Notifications
You must be signed in to change notification settings - Fork 469
Fix crash in "rescript build" on Windows and add test #5516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
#include <string.h> | ||
#include <stdint.h> | ||
#include "caml/memory.h" | ||
#include "caml/osdeps.h" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any idea of what happened? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In 9.1.4, this wasn't there either, but ret = CAML_SYS_STAT(p, &st); was used instead of ret = stat_os(p, &st); There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (Now |
||
#include "caml/signals.h" | ||
#include "caml/misc.h" | ||
#include <sys/stat.h> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "rescript-test", | ||
"sources": [ | ||
{ | ||
"dir": "src", | ||
"subdirs": true | ||
} | ||
], | ||
"package-specs": [ | ||
{ | ||
"module": "es6", | ||
"in-source": true | ||
} | ||
], | ||
"suffix": ".bs.js" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
{ | ||
"name": "rescript-test", | ||
"version": "0.0.0", | ||
"scripts": { | ||
"test": "bsc Test.res" | ||
} | ||
"version": "0.0.0" | ||
} |
Uh oh!
There was an error while loading. Please reload this page.