0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test
Andrew Kelley b0d2ebe529 remove std.io.readLine
This was deceptive. It was always meant to be sort of a "GNU readline"
sort of thing where it provides a Command Line Interface to input text.
However that functionality did not exist and it was basically a red
herring for people trying to read line-delimited input from a stream.

In this commit the API is deleted, so that people can find the proper
API more easily.

A CLI text input abstraction would be useful but may not even need to be
in the standard library. As you can see in this commit, the guess_number
CLI game gets by just fine by using `std.fs.File.read`.
History 2020-02-20 15:30:00 -05:00
..
src test harness: show annotated case name when translate-c test fails 2020-01-07 13:40:17 -05:00
stage1 add behavior test for previous commit 2020-02-18 15:28:14 -05:00
stage2 exported main must be pub 2019-12-03 12:50:42 -05:00
standalone remove std.io.readLine 2020-02-20 15:30:00 -05:00
assemble_and_link.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
cli.zig Convert a few more page_allocator 2020-01-30 00:27:44 -06:00
compare_output.zig Promoted "leak_count_allocator" to the main testing.allocator 2020-01-29 22:22:00 -06:00
compile_errors.zig ir: Compile error on result_loc type mismatch w/ slicing 2020-02-20 13:14:19 +01:00
gen_h.zig remove var args from the language 2019-12-09 15:27:27 -05:00
run_translated_c.zig Generate compilable code for array inits 2020-01-30 19:45:08 +01:00
runtime_safety.zig fix safety for sentinel-slicing floats 2019-12-20 18:28:59 -05:00
stack_traces.zig Adjust tests & work around a nasty ICE 2020-01-21 23:17:02 +01:00
standalone.zig improve dynamic library API 2019-12-10 12:28:28 -05:00
tests.zig ir: Compile error on result_loc type mismatch w/ slicing 2020-02-20 13:14:19 +01:00
translate_c.zig fix c tokenizer bug 2020-02-14 18:57:57 -05:00