1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: parallel cc for much faster compilation using all CPU cores

This commit is contained in:
Alexander Medvednikov
2022-10-01 10:03:59 +03:00
parent be7b0f1dc5
commit 3d2588f101
16 changed files with 289 additions and 95 deletions

View File

@@ -8,6 +8,12 @@ fn test_encoding_csv_writer() {
csv_writer.write(['sam', 'sam@likesham.com', '0433000000', 'needs, quoting']) or {}
assert csv_writer.str() == 'name,email,phone,other\njoe,joe@blow.com,0400000000,test\nsam,sam@likesham.com,0433000000,"needs, quoting"\n'
/*
mut csv_writer2 := csv.new_writer(delimiter:':')
csv_writer.write(['foo', 'bar', '2']) or {}
assert csv_writer.str() == 'foo:bar:2'
*/
}
fn test_encoding_csv_writer_delimiter() {