diff --git a/jscomp/stdlib/bytesLabels.cppo.mli b/jscomp/stdlib/bytesLabels.mli similarity index 99% rename from jscomp/stdlib/bytesLabels.cppo.mli rename to jscomp/stdlib/bytesLabels.mli index b77755c9a4..b44ecda5f3 100644 --- a/jscomp/stdlib/bytesLabels.cppo.mli +++ b/jscomp/stdlib/bytesLabels.mli @@ -493,9 +493,6 @@ val of_seq : char Seq.t -> t (** {2:utf_8 UTF-8} *) -#ifdef BS -#else - val get_utf_8_uchar : t -> int -> Uchar.utf_decode (** [get_utf_8_uchar b i] decodes an UTF-8 character at index [i] in [b]. *) @@ -740,8 +737,6 @@ val set_int64_le : bytes -> int -> int64 -> unit starting at byte index [i] to [v]. @since 4.08 *) -#endif - (** {1:bytes_concurrency Byte sequences and concurrency safety} diff --git a/jscomp/stdlib/dune b/jscomp/stdlib/dune index 118ccb6619..69b301f5d7 100644 --- a/jscomp/stdlib/dune +++ b/jscomp/stdlib/dune @@ -73,12 +73,6 @@ (action (run cppo -D=BS %{env:CPPO_FLAGS=} %{deps} -o %{target}))) -(rule - (deps bytesLabels.cppo.mli) - (target bytesLabels.mli) - (action - (run cppo -D=BS %{env:CPPO_FLAGS=} %{deps} -o %{target}))) - (rule (deps buffer.cppo.ml) (target buffer.ml)