Skip to content

Commit

Permalink
flambda-backend: Respect the configure setting of no-naked-pointers (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell authored Nov 17, 2023
1 parent 454ef16 commit 9a94e8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion utils/config.common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ and cfg_magic_number = "Caml2021G520"

let safe_string = true
let default_safe_string = true
let naked_pointers = false
let flambda_backend = true

let interface_suffix = ref ".mli"
Expand Down
2 changes: 2 additions & 0 deletions utils/config.fixed.ml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ let ar_supports_response_files = true

(* mshinwell: at present always use runtime4 for bootstrap *)
let runtime5 = false
(* This setting is only for bootstrap, does not affect dune-built compilers: *)
let naked_pointers = false
3 changes: 2 additions & 1 deletion utils/config.generated.ml.in
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,5 @@ let flexdll_dirs = [@flexdll_dir@]

let ar_supports_response_files = @ar_supports_response_files@

let runtime5 = "@enable_runtime5@" = "yes"
let naked_pointers = "@naked_pointers@" = "true"
let runtime5 = "@enable_runtime5@" = "yes"

0 comments on commit 9a94e8f

Please sign in to comment.