Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions compiler/jsoo/dune
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@
(= %{profile} browser))
(flags
(:standard -w +a-4-9-40-42-44-45))
(libraries core syntax ml js_of_ocaml)
(preprocess
(pps js_of_ocaml-ppx)))
(libraries core syntax ml js_of_ocaml))
12 changes: 7 additions & 5 deletions compiler/jsoo/jsoo_playground_main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,10 @@ end

let () =
Js.export "rescript_compiler"
(object%js
val api_version = api_version
val version = Bs_version.version
method make = Export.make ()
end)
Js.Unsafe.(
obj
[|
("api_version", inject @@ Js.string api_version);
("version", inject @@ Js.string Bs_version.version);
("make", inject @@ Export.make);
|])
1 change: 0 additions & 1 deletion rescript.opam
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ depends: [

# Test dependencies that would be broken on Windows runners
"js_of_ocaml" {os != "win32" & with-test & = "6.0.1"}
"js_of_ocaml-ppx" {os != "win32" & with-test & = "6.0.1"}
"wasm_of_ocaml-compiler" {os != "win32" & with-test & = "6.0.1"}
]
pin-depends: [
Expand Down
1 change: 0 additions & 1 deletion rescript.opam.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ depends: [

# Test dependencies that would be broken on Windows runners
"js_of_ocaml" {os != "win32" & with-test & = "6.0.1"}
"js_of_ocaml-ppx" {os != "win32" & with-test & = "6.0.1"}
"wasm_of_ocaml-compiler" {os != "win32" & with-test & = "6.0.1"}
]
pin-depends: [
Expand Down