Skip to content

Commit

Permalink
Add no_naked_pointers to ocamlrun -config
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Feb 5, 2020
1 parent 7b7188c commit 13150f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runtime/startup_byt.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ static void do_print_config(void)
"supports_afl: %s\n"
"windows_unicode: %s\n"
"supports_shared_libraries: %s\n"
"no_naked_pointers: %s\n"
"exec_magic_number: %s\n",
OCAML_VERSION_STRING,
caml_stat_strdup_of_os(OCAML_STDLIB_DIR),
Expand Down Expand Up @@ -405,6 +406,11 @@ static void do_print_config(void)
"true",
#else
"false",
#endif
#ifdef NO_NAKED_POINTERS
"true",
#else
"false",
#endif
EXEC_MAGIC);

Expand Down

0 comments on commit 13150f4

Please sign in to comment.