Skip to content

Commit

Permalink
Merge branch 'riot-ml-main'
Browse files Browse the repository at this point in the history
  • Loading branch information
emilpriver committed Jun 3, 2024
2 parents 9024af4 + 2dbd258 commit 4295453
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ _build
*.beam
*.trace
test/generated/*
_opam

# nix ignores
.direnv
Expand Down
2 changes: 1 addition & 1 deletion riot/lib/logger_app.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ open Logger.Make (struct
end)

module Formatter = struct
type Message.t += Log of log [@@unboxed]
type Message.t += Log of log

let stdout =
Format.make_formatter (output_substring stdout) (fun () -> flush stdout)
Expand Down
2 changes: 1 addition & 1 deletion riot/lib/telemetry_app.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type event = Telemetry.event = ..
let name = "Riot.Telemetry"

module Dispatcher = struct
type Core.Message.t += Event of Telemetry.event [@@unboxed]
type Core.Message.t += Event of Telemetry.event

let __main_dispatcher__ : Pid.t ref = ref Pid.zero

Expand Down
4 changes: 1 addition & 3 deletions riot/runtime/core/proc_effect.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ type _ Effect.t +=
selector : Message.t -> [ `select of 'msg | `skip ];
}
-> 'msg Effect.t
[@@unboxed]

type _ Effect.t += Yield : unit Effect.t [@@unboxed]
type _ Effect.t += Yield : unit Effect.t

type _ Effect.t +=
| Syscall : {
Expand All @@ -20,4 +19,3 @@ type _ Effect.t +=
timeout : Timeout.t;
}
-> unit Effect.t
[@@unboxed]

0 comments on commit 4295453

Please sign in to comment.