mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
windows: random things (#9046)
* random things * fix reliability of loading napi stuff * fix posix build * a
This commit is contained in:
@@ -672,7 +672,7 @@ pub const String = extern struct {
|
||||
return "";
|
||||
}
|
||||
|
||||
pub fn encoding(self: String) bun.strings.Encoding {
|
||||
pub fn encoding(self: String) bun.strings.EncodingNonAscii {
|
||||
if (self.isUTF16()) {
|
||||
return .utf16;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user