Skip to content

Commit

Permalink
tests: use new options
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Oct 17, 2024
1 parent 87961a2 commit a56c1d7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions tests/dune_hello/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@
(libraries fstar.lib)
(modes native)
)
(env
(_
(bin_annot false)
(flags (:standard -w -A)))
)
2 changes: 1 addition & 1 deletion tests/semiring/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $(OUTPUT_DIR)/%.ml:

%.cmxs: %.ml
$(call msg, "OCAMLOPT", $<)
$(OCAMLOPT) -w -8 -shared -package fstar.lib -o $@ $*.ml
$(FSTAR_EXE) --ocamlc_plugin -o $@ $*.ml

# REMARK: --load will compile $*.ml if $*.cmxs does not exist, but we
# compile it before and use --load_cmxs
Expand Down
2 changes: 1 addition & 1 deletion tests/simple_hello/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Hello.test: Hello.exe
$(FSTAR) --codegen OCaml $< --extract $*

%.exe: %.ml
$(FSTAR) --ocamlenv ocamlfind ocamlopt -package fstar.lib -linkpkg $< -o $@
$(FSTAR) --ocamlc $< -o $@

0 comments on commit a56c1d7

Please sign in to comment.