Skip to content

Commit

Permalink
Compile with JVM bootstrap backend
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhelloworld committed Jun 19, 2021
1 parent db9f7bb commit 752c169
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Idris/IDEMode/REPL.idr
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ import Network.Socket.Data

%default covering

%foreign "C:fdopen,libc 6"
prim__fdopen : Int -> String -> PrimIO AnyPtr
%foreign
"C:fdopen,libc 6"
jvm idrisSocketClass "toFile"
prim__fdopen : AnyPtr -> String -> PrimIO AnyPtr

export
socketToFile : Socket -> IO (Either String File)
Expand Down

0 comments on commit 752c169

Please sign in to comment.