Commit graph

479 commits

Author SHA1 Message Date
David Tolnay
43b507a405
Convert test bins to rust std I/O 2022-07-03 20:41:04 -07:00
David Tolnay
41a587f8a3
Inline argument processing into translated main 2022-07-03 20:41:04 -07:00
David Tolnay
74adb8c5e0
Delete unneeded flag parsing from test bins 2022-07-03 20:41:04 -07:00
David Tolnay
256b6db012
Move all commonality from yaml.h and yaml_private.h to module 2022-07-03 20:41:03 -07:00
David Tolnay
ea5a88ba44
Automatically name unnamed types 2022-07-03 15:24:03 -07:00
David Tolnay
f5e99520bf
Delete unneeded bins 2022-07-03 14:37:20 -07:00
David Tolnay
250a60ffec
Replace __assert_fail 2022-07-03 14:17:39 -07:00
David Tolnay
47958607e0
Sort macro-generated tests 2022-07-03 13:54:32 -07:00
David Tolnay
56e2024c8e
Hyphen in bin names like in upstream libyaml 2022-07-03 13:43:46 -07:00
David Tolnay
1e8cabe9d3
Move libyaml test bins out of tests dir 2022-07-03 13:40:24 -07:00
David Tolnay
0d545fea4b
Wire up yaml-test-suite 2022-07-03 13:37:06 -07:00
David Tolnay
aebf6a7924
C2RustUnnamed -> Unnamed 2022-07-03 09:19:20 -07:00
David Tolnay
488bc751a7
Make libyaml tests run without rust test harness 2022-07-03 08:54:25 -07:00
David Tolnay
0c5a4d7cf4
Move run_*.rs to bin 2022-07-03 08:49:16 -07:00
David Tolnay
442da50871
Move example_*.rs to examples 2022-07-03 08:48:34 -07:00
David Tolnay
ee195857e2
Exclude generated code from rustfmt 2022-07-03 08:43:55 -07:00
David Tolnay
eca6015d0b
Drop libc dependency 2022-07-03 08:33:54 -07:00
David Tolnay
1b65c140cf
Touch up generated Cargo.toml 2022-07-03 08:30:08 -07:00
David Tolnay
f0650a8f8b
Test suite attributes 2022-07-03 08:27:59 -07:00
David Tolnay
aab056d6fb
Suppress all currently triggered lints in source 2022-07-03 08:23:22 -07:00
David Tolnay
c72e7ff3bc
Remove unused label_break_value feature 2022-07-03 08:23:22 -07:00
David Tolnay
928f57a55b
Move generated lib.rs into src dir 2022-07-03 08:23:21 -07:00
David Tolnay
8b2643c35e
Remove extern crate unnecessary in 2018 edition 2022-07-03 08:23:20 -07:00
David Tolnay
68e80f6ace
Remove register_tool from generated lib.rs 2022-07-03 08:23:20 -07:00
David Tolnay
64dc37e646
Move sources out of doubly nested src dir 2022-07-03 08:23:19 -07:00
David Tolnay
51652a386b
Move tests out of src dir 2022-07-03 08:23:06 -07:00
David Tolnay
afdfd608df
c2rust 0.16.0 libyaml 0.2.5
Generated by:

    c2rust transpile --emit-build-files --fail-on-error --output-dir . ../libyaml/compile_commands.json

Compile commands generated by bear 3.0.18:

    ./bootstrap
    ./configure
    bear -- make
2022-07-03 08:21:50 -07:00
David Tolnay
7135bc16f3
Add gitignore in preparation for c2rust generated code 2022-07-03 07:59:59 -07:00
David Tolnay
390b04967f
MIT license 2022-07-03 07:58:18 -07:00