File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -415,17 +415,6 @@ module Compiler = {
415
415
}
416
416
}
417
417
418
- @send @scope ("ocaml" )
419
- external ocamlCompile : (t , string ) => JSON .t = "compile"
420
-
421
- let ocamlCompile = (t , code ): CompilationResult .t => {
422
- let startTime = now ()
423
- let json = ocamlCompile (t , code )
424
- let stopTime = now ()
425
-
426
- CompilationResult .decode (~time = stopTime -. startTime , json )
427
- }
428
-
429
418
@send external getConfig : t => Config .t = "getConfig"
430
419
431
420
@send external setFilename : (t , string ) => bool = "setFilename"
Original file line number Diff line number Diff line change @@ -191,7 +191,6 @@ module Compiler: {
191
191
* OCaml compiler actions (Note: no pretty print available for OCaml)
192
192
*/
193
193
let ocamlVersion : t => option <string >
194
- let ocamlCompile : (t , string ) => CompilationResult .t
195
194
196
195
/*
197
196
* Config setter / getters
You can’t perform that action at this time.
0 commit comments