File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 77  (= %{profile} browser))
88 (flags
99  (:standard -w +a-4-9-40-42-44-45))
10-  (libraries core syntax ml js_of_ocaml)
11-  (preprocess
12-   (pps js_of_ocaml-ppx)))
10+  (libraries core syntax ml js_of_ocaml))
Original file line number Diff line number Diff line change 675675
676676let  ()  = 
677677  Js. export " rescript_compiler" 
678-     (object % js
679-        val api_version =  api_version
680-        val version =  Bs_version. version
681-        method make =  Export. make () 
682-     end)
678+     Js.Unsafe. (
679+       obj
680+         [|
681+           (" api_version"  , inject @@  Js. string  api_version);
682+           (" version"  , inject @@  Js. string  Bs_version. version);
683+           (" make"  , inject @@  Export. make);
684+         |])
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ depends: [
3333
3434  # Test dependencies that would be broken on Windows runners
3535  "js_of_ocaml" {os != "win32" & with-test & = "6.0.1"}
36-   "js_of_ocaml-ppx" {os != "win32" & with-test & = "6.0.1"}
3736  "wasm_of_ocaml-compiler" {os != "win32" & with-test & = "6.0.1"}
3837]
3938pin-depends: [
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ depends: [
1111
1212  # Test dependencies that would be broken on Windows runners
1313  "js_of_ocaml" {os != "win32" & with-test & = "6.0.1"}
14-   "js_of_ocaml-ppx" {os != "win32" & with-test & = "6.0.1"}
1514  "wasm_of_ocaml-compiler" {os != "win32" & with-test & = "6.0.1"}
1615]
1716pin-depends: [
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments