cli: add safe UTF-8 and supplied-buffer hex/base64 std modules
This commit is contained in:
42 files changed
+2807
-14
No files matched your search
@@ -0,0 +1,6 @@
|
||||
// expect: reject E2101 E2101
|
||||
// phase: 6
|
||||
// spec: docs/spec/16-standard-library.md §2.5–§2.7
|
||||
module test.text
|
||||
import std.encoding.hex;
|
||||
fn main() -> u8 effects [] { var b: [u8; 4] = zero; let result = std.encoding.hex.decode(mut b, ref b); return 0; }
|
||||
Reference in new issue
Block a user