Skip to content

Commit

Permalink
Backport PR coq#17433: Allow coq-core and coqide-server to be compile…
Browse files Browse the repository at this point in the history
…d in bytecode-only mode
  • Loading branch information
Zimmi48 committed Apr 11, 2023
2 parents cbd4daf + 17c4650 commit 8768ba3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ide/coqide/dune
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
(package coqide-server)
(modules idetop)
(libraries coq-core.toplevel coqide-server.protocol platform_specific)
(modes native byte)
(modes exe byte)
(link_flags -linkall))

(install
Expand Down
3 changes: 2 additions & 1 deletion topbin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(package coq-core)
(modules coqc_bin)
(libraries coq-core.toplevel findlib.dynload)
(modes native byte))
(modes exe byte))
; Adding -ccopt -flto to links options could be interesting, however,
; it doesn't work on Windows

Expand All @@ -39,6 +39,7 @@
(package coq-core)
(modules coqnative_bin)
(libraries coq-core.kernel)
(modes exe byte)
(link_flags -linkall))

; Workers
Expand Down

0 comments on commit 8768ba3

Please sign in to comment.