[v:master] 38cceeafe - Verify ssh keys; stop building for armv7

main
vbot 2022-04-17 16:07:01 +00:00
parent a6e7a531d0
commit 02282b0bc2
2 changed files with 58 additions and 58 deletions

60
v.c
View File

@ -1,11 +1,11 @@
#define V_COMMIT_HASH "56a3539"
#define V_COMMIT_HASH "38cceeafe"
#ifndef V_COMMIT_HASH
#define V_COMMIT_HASH "17c34b0"
#define V_COMMIT_HASH "56a3539"
#endif
#ifndef V_CURRENT_COMMIT_HASH
#define V_CURRENT_COMMIT_HASH "56a3539"
#define V_CURRENT_COMMIT_HASH "38cceea"
#endif
// V comptime_definitions:
@ -6853,7 +6853,7 @@ string string_clone(string a);
string string_replace_once(string s, string rep, string with);
string string_replace(string s, string rep, string with);
string string_replace_each(string s, Array_string vals);
VV_LOCAL_SYMBOL int compare_2018276881664952276_RepIndex_by_idx(RepIndex* a, RepIndex* b) {
VV_LOCAL_SYMBOL int compare_11653268393309465375_RepIndex_by_idx(RepIndex* a, RepIndex* b) {
if (a->idx < b->idx) return -1;
else return 1;
}
@ -7093,7 +7093,7 @@ Option_void os__execve(string cmdpath, Array_string cmdargs, Array_string envs);
int os__is_atty(int fd);
Option_void os__write_file_array(string path, array buffer);
Option_Array_string os__glob(Array_string patterns);
VV_LOCAL_SYMBOL int compare_10044130939551424885_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_3075544183021293552_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -7274,7 +7274,7 @@ Array_string os__cmdline__only_non_options(Array_string args);
Array_string os__cmdline__only_options(Array_string args);
#define _const_v__token__max_keyword_len 20
v__token__KeywordsMatcher v__token__new_keywords_matcher_T_v__token__Kind(Map_string_v__token__Kind kw_map);
VV_LOCAL_SYMBOL int compare_7621314236064146737_v__token__WIndex_by_word(v__token__WIndex* a, v__token__WIndex* b) {
VV_LOCAL_SYMBOL int compare_186646746980636166_v__token__WIndex_by_word(v__token__WIndex* a, v__token__WIndex* b) {
if (string__lt(a->word, b->word)) return -1;
else return 1;
}
@ -7424,7 +7424,7 @@ time__Time time__unix2(i64 abs, int microsecond);
VV_LOCAL_SYMBOL multi_return_int_int_int time__calculate_date_from_offset(i64 day_offset_);
VV_LOCAL_SYMBOL multi_return_int_int_int time__calculate_time_from_offset(i64 second_offset_);
void v__dotgraph__start_digraph(void);
VV_LOCAL_SYMBOL void anon_fn_40181cb3d9c4559e__82(void);
VV_LOCAL_SYMBOL void anon_fn_eb34f0b759dade77__82(void);
v__dotgraph__DotGraph* v__dotgraph__new(string name, string label, string color);
void v__dotgraph__DotGraph_writeln(v__dotgraph__DotGraph* d, string line);
void v__dotgraph__DotGraph_finish(v__dotgraph__DotGraph* d);
@ -7724,7 +7724,7 @@ Array_string Array_v__cflag__CFlag_c_options_only_object_files(Array_v__cflag__C
multi_return_Array_string_Array_string_Array_string Array_v__cflag__CFlag_defines_others_libs(Array_v__cflag__CFlag cflags);
VV_LOCAL_SYMBOL Option_string v__pkgconfig__desc(string mod);
Option_v__pkgconfig__Main_ptr v__pkgconfig__main(Array_string args);
VV_LOCAL_SYMBOL int compare_6984583855671780374_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_16330786295575367509_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -7874,7 +7874,7 @@ v__pref__CompilerType v__pref__cc_from_string(string cc_str);
v__pref__Arch v__pref__get_host_arch(void);
VV_LOCAL_SYMBOL void v__pref__Preferences_parse_define(v__pref__Preferences* prefs, string define);
Array_string v__pref__Preferences_should_compile_filtered_files(v__pref__Preferences* prefs, string dir, Array_string files_);
VV_LOCAL_SYMBOL int compare_16890712418519328305_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_13661271458656804876_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -7935,7 +7935,7 @@ u64 sync__thread_id(void);
string _const_help__unknown_topic; // a string literal, inited later
void help__print_and_exit(string topic);
VV_LOCAL_SYMBOL string help__known_topics(string topicdir);
VV_LOCAL_SYMBOL int compare_1650400601261717902_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_10452767129756656329_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -7978,13 +7978,13 @@ v__util__Suggestion v__util__new_suggestion(string wanted, Array_string possibil
void v__util__Suggestion_add(v__util__Suggestion* s, string val);
void v__util__Suggestion_add_many(v__util__Suggestion* s, Array_string many);
void v__util__Suggestion_sort(v__util__Suggestion* s);
VV_LOCAL_SYMBOL int compare_6081961377856465380_v__util__Possibility_by_similarity(v__util__Possibility* a, v__util__Possibility* b) {
VV_LOCAL_SYMBOL int compare_6907021362050549619_v__util__Possibility_by_similarity(v__util__Possibility* a, v__util__Possibility* b) {
if (a->similarity < b->similarity) return -1;
else return 1;
}
string v__util__Suggestion_say(v__util__Suggestion s, string msg);
VV_LOCAL_SYMBOL int compare_6081961377856465380_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_6907021362050549619_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -9073,7 +9073,7 @@ v__ast__Type v__parser__Parser_parse_fn_type(v__parser__Parser* p, string name);
v__ast__Type v__parser__Parser_parse_type_with_mut(v__parser__Parser* p, bool is_mut);
v__ast__Language v__parser__Parser_parse_language(v__parser__Parser* p);
v__ast__Type v__parser__Parser_parse_inline_sum_type(v__parser__Parser* p);
VV_LOCAL_SYMBOL int compare_1376677008124459278_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_7932637671395545435_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -11915,7 +11915,7 @@ void v__ast__TypeSymbol_free(v__ast__TypeSymbol* it) {
string_free(&(it->mod));
}
VV_LOCAL_SYMBOL void anon_fn_40181cb3d9c4559e__82(void) {
VV_LOCAL_SYMBOL void anon_fn_eb34f0b759dade77__82(void) {
println(_SLIT("}"));
}
@ -19701,7 +19701,7 @@ string string_replace_each(string s, Array_string vals) {
if (idxs.len == 0) {
return string_clone(s);
}
qsort(idxs.data, idxs.len, idxs.element_size, (int (*)(const void *, const void *))&compare_2018276881664952276_RepIndex_by_idx);
qsort(idxs.data, idxs.len, idxs.element_size, (int (*)(const void *, const void *))&compare_11653268393309465375_RepIndex_by_idx);
u8* b = malloc_noscan(new_len + 1);
int idx_pos = 0;
RepIndex cur_idx = ((RepIndex*)idxs.data)[idx_pos];
@ -24693,7 +24693,7 @@ Option_Array_string os__glob(Array_string patterns) {
;
}
qsort(matches.data, matches.len, matches.element_size, (int (*)(const void *, const void *))&compare_10044130939551424885_string);
qsort(matches.data, matches.len, matches.element_size, (int (*)(const void *, const void *))&compare_3075544183021293552_string);
Option_Array_string _t4;
opt_ok(&(Array_string[]) { matches }, (Option*)(&_t4), sizeof(Array_string));
return _t4;
@ -27044,7 +27044,7 @@ v__token__KeywordsMatcher v__token__new_keywords_matcher_T_v__token__Kind(Map_st
}
for (int i = 0; i < _const_v__token__max_keyword_len; ++i) {
if (km.words[v_fixed_index(i, 20)].len > 0) {
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_7621314236064146737_v__token__WIndex_by_word);
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_186646746980636166_v__token__WIndex_by_word);
#if defined(CUSTOM_DEFINE_trace_keyword_matcher_initialisation)
{
print( str_intp(2, _MOV((StrIntpData[]){{_SLIT("word len: "), 0x6fe27, {.d_i32 = i}}, {_SLIT(" | words: "), 0, { .d_c = 0 }}})));
@ -27082,7 +27082,7 @@ v__token__KeywordsMatcher v__token__new_keywords_matcher_T_int(Map_string_int kw
}
for (int i = 0; i < _const_v__token__max_keyword_len; ++i) {
if (km.words[v_fixed_index(i, 20)].len > 0) {
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_7621314236064146737_v__token__WIndex_by_word);
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_186646746980636166_v__token__WIndex_by_word);
#if defined(CUSTOM_DEFINE_trace_keyword_matcher_initialisation)
{
print( str_intp(2, _MOV((StrIntpData[]){{_SLIT("word len: "), 0x6fe27, {.d_i32 = i}}, {_SLIT(" | words: "), 0, { .d_c = 0 }}})));
@ -29948,7 +29948,7 @@ VV_LOCAL_SYMBOL multi_return_int_int_int time__calculate_time_from_offset(i64 se
void v__dotgraph__start_digraph(void) {
println(_SLIT("digraph G {"));
atexit((voidptr) anon_fn_40181cb3d9c4559e__82);
atexit((voidptr) anon_fn_eb34f0b759dade77__82);
}
v__dotgraph__DotGraph* v__dotgraph__new(string name, string label, string color) {
@ -33277,7 +33277,7 @@ Option_v__pkgconfig__Main_ptr v__pkgconfig__main(Array_string args) {
m->res = _const_v__pkgconfig__version;
} else if (opt->listall) {
Array_string modules = v__pkgconfig__list();
qsort(modules.data, modules.len, modules.element_size, (int (*)(const void *, const void *))&compare_6984583855671780374_string);
qsort(modules.data, modules.len, modules.element_size, (int (*)(const void *, const void *))&compare_16330786295575367509_string);
if (opt->description) {
for (int _t1 = 0; _t1 < modules.len; ++_t1) {
string mod = ((string*)modules.data)[_t1];
@ -34712,7 +34712,7 @@ void v__pref__Preferences_fill_with_defaults(v__pref__Preferences* p) {
}
#endif
}
string vhash = _SLIT("17c34b0");
string vhash = _SLIT("56a3539");
p->cache_manager = v__vcache__new_cache_manager(new_array_from_c_array(7, 7, sizeof(string), _MOV((string[7]){string_clone(vhash), str_intp(6, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = v__pref__Backend_str(p->backend)}}, {_SLIT(" | "), 0xfe10, {.d_s = v__pref__OS_str(p->os)}}, {_SLIT(" | "), 0xfe10, {.d_s = p->ccompiler}}, {_SLIT(" | "), 0xfe10, {.d_s = p->is_prod ? _SLIT("true") : _SLIT("false")}}, {_SLIT(" | "), 0xfe10, {.d_s = p->sanitize ? _SLIT("true") : _SLIT("false")}}, {_SLIT0, 0, { .d_c = 0 }}})), string_clone(string_trim_space(p->cflags)), string_clone(string_trim_space(p->third_party_option)), string_clone(Array_string_str(p->compile_defines_all)), string_clone(Array_string_str(p->compile_defines)), string_clone(Array_string_str(p->lookup_path))})));
if (string__eq(os__user_os(), _SLIT("windows"))) {
p->use_cache = false;
@ -36061,7 +36061,7 @@ VV_LOCAL_SYMBOL void v__pref__Preferences_parse_define(v__pref__Preferences* pre
Array_string v__pref__Preferences_should_compile_filtered_files(v__pref__Preferences* prefs, string dir, Array_string files_) {
Array_string res = __new_array_with_default(0, 0, sizeof(string), 0);
Array_string files = array_clone_to_depth(&files_, 0);
qsort(files.data, files.len, files.element_size, (int (*)(const void *, const void *))&compare_16890712418519328305_string);
qsort(files.data, files.len, files.element_size, (int (*)(const void *, const void *))&compare_13661271458656804876_string);
Array_string all_v_files = __new_array_with_default(0, 0, sizeof(string), 0);
for (int _t1 = 0; _t1 < files.len; ++_t1) {
string file = ((string*)files.data)[_t1];
@ -36818,7 +36818,7 @@ int sync__channel_select(Array_sync__Channel_ptr* channels, Array_sync__Directio
// assert
if (!(channels->len == dir.len)) {
VAssertMetaInfo v_assert_meta_info__t1 = {0};
v_assert_meta_info__t1.fpath = _SLIT("/home/runner/work/v/v/vlib/sync/channels.c.v");
v_assert_meta_info__t1.fpath = _SLIT("/woodpecker/src/git.rustybever.be/Chewing_Bever/v/vlib/sync/channels.c.v");
v_assert_meta_info__t1.line_nr = 550;
v_assert_meta_info__t1.fn_name = _SLIT("sync.channel_select");
v_assert_meta_info__t1.src = _SLIT("channels.len == dir.len");
@ -36833,7 +36833,7 @@ int sync__channel_select(Array_sync__Channel_ptr* channels, Array_sync__Directio
// assert
if (!(dir.len == objrefs->len)) {
VAssertMetaInfo v_assert_meta_info__t2 = {0};
v_assert_meta_info__t2.fpath = _SLIT("/home/runner/work/v/v/vlib/sync/channels.c.v");
v_assert_meta_info__t2.fpath = _SLIT("/woodpecker/src/git.rustybever.be/Chewing_Bever/v/vlib/sync/channels.c.v");
v_assert_meta_info__t2.line_nr = 551;
v_assert_meta_info__t2.fn_name = _SLIT("sync.channel_select");
v_assert_meta_info__t2.src = _SLIT("dir.len == objrefs.len");
@ -37307,7 +37307,7 @@ VV_LOCAL_SYMBOL string help__known_topics(string topicdir) {
array_push((array*)&_t3, &ti);
}
Array_string topics =_t3;
qsort(topics.data, topics.len, topics.element_size, (int (*)(const void *, const void *))&compare_1650400601261717902_string);
qsort(topics.data, topics.len, topics.element_size, (int (*)(const void *, const void *))&compare_10452767129756656329_string);
array_push((array*)&res, _MOV((string[]){ string_clone(Array_string_join(topics, _SLIT(", "))) }));
array_push((array*)&res, _MOV((string[]){ string_clone(_SLIT(".")) }));
string _t7 = Array_string_join(res, _SLIT(""));
@ -37804,7 +37804,7 @@ void v__util__Suggestion_add_many(v__util__Suggestion* s, Array_string many) {
}
void v__util__Suggestion_sort(v__util__Suggestion* s) {
qsort(s->known.data, s->known.len, s->known.element_size, (int (*)(const void *, const void *))&compare_6081961377856465380_v__util__Possibility_by_similarity);
qsort(s->known.data, s->known.len, s->known.element_size, (int (*)(const void *, const void *))&compare_6907021362050549619_v__util__Possibility_by_similarity);
}
string v__util__Suggestion_say(v__util__Suggestion s, string msg) {
@ -37833,7 +37833,7 @@ string v__util__Suggestion_say(v__util__Suggestion s, string msg) {
array_push((array*)&_t1, &ti);
}
Array_string values =_t1;
qsort(values.data, values.len, values.element_size, (int (*)(const void *, const void *))&compare_6081961377856465380_string);
qsort(values.data, values.len, values.element_size, (int (*)(const void *, const void *))&compare_6907021362050549619_string);
if (values.len == 1) {
res = /*f*/string__plus(res, str_intp(2, _MOV((StrIntpData[]){{_SLIT(".\n1 possibility: "), 0xfe10, {.d_s = (*(string*)/*ee elem_sym */array_get(values, 0))}}, {_SLIT("."), 0, { .d_c = 0 }}})));
} else if (values.len < 25) {
@ -85415,7 +85415,7 @@ v__ast__Type v__parser__Parser_parse_inline_sum_type(v__parser__Parser* p) {
array_push((array*)&_t1, &ti);
}
Array_string variant_names =_t1;
qsort(variant_names.data, variant_names.len, variant_names.element_size, (int (*)(const void *, const void *))&compare_1376677008124459278_string);
qsort(variant_names.data, variant_names.len, variant_names.element_size, (int (*)(const void *, const void *))&compare_7932637671395545435_string);
string name = str_intp(2, _MOV((StrIntpData[]){{_SLIT("_v_anon_sum_type_"), 0xfe10, {.d_s = Array_string_join(variant_names, _SLIT("_"))}}, {_SLIT0, 0, { .d_c = 0 }}}));
Array_v__ast__Type _t3 = {0};
Array_v__ast__TypeNode _t3_orig = variants;
@ -92193,7 +92193,7 @@ void v__builder__Builder_cc(v__builder__Builder* v) {
v__builder__Builder_build_thirdparty_obj_files(v);
v__builder__Builder_setup_output_name(v);
if (v->pref->os != v__pref__OS__windows && string_contains(ccompiler, _SLIT("++"))) {
string cpp_atomic_h_path = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/home/runner/work/v/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/atomic.h"), 0, { .d_c = 0 }}}));
string cpp_atomic_h_path = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/woodpecker/src/git.rustybever.be/Chewing_Bever/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/atomic.h"), 0, { .d_c = 0 }}}));
if (!os__exists(cpp_atomic_h_path)) {
for (int _t4 = 0; _t4 < v->parsed_files.len; ++_t4) {
v__ast__File* file = ((v__ast__File**)v->parsed_files.data)[_t4];
@ -92213,7 +92213,7 @@ void v__builder__Builder_cc(v__builder__Builder* v) {
eprintln( str_intp(2, _MOV((StrIntpData[]){{_SLIT("> creating "), 0xfe10, {.d_s = cpp_atomic_h_path}}, {_SLIT(" ..."), 0, { .d_c = 0 }}})));
}
#endif
string cppgenv = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/home/runner/work/v/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/gen.v"), 0, { .d_c = 0 }}}));
string cppgenv = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/woodpecker/src/git.rustybever.be/Chewing_Bever/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/gen.v"), 0, { .d_c = 0 }}}));
os__execute( str_intp(4, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = os__quoted_path(vexe)}}, {_SLIT(" run "), 0xfe10, {.d_s = os__quoted_path(cppgenv)}}, {_SLIT(" "), 0xfe10, {.d_s = os__quoted_path(ccompiler)}}, {_SLIT0, 0, { .d_c = 0 }}})));
break;
}

56
v_win.c
View File

@ -1,11 +1,11 @@
#define V_COMMIT_HASH "56a3539"
#define V_COMMIT_HASH "38cceeafe"
#ifndef V_COMMIT_HASH
#define V_COMMIT_HASH "17c34b0"
#define V_COMMIT_HASH "56a3539"
#endif
#ifndef V_CURRENT_COMMIT_HASH
#define V_CURRENT_COMMIT_HASH "56a3539"
#define V_CURRENT_COMMIT_HASH "38cceea"
#endif
// V comptime_definitions:
@ -6946,7 +6946,7 @@ string string_clone(string a);
string string_replace_once(string s, string rep, string with);
string string_replace(string s, string rep, string with);
string string_replace_each(string s, Array_string vals);
VV_LOCAL_SYMBOL int compare_2018276881664952276_RepIndex_by_idx(RepIndex* a, RepIndex* b) {
VV_LOCAL_SYMBOL int compare_11653268393309465375_RepIndex_by_idx(RepIndex* a, RepIndex* b) {
if (a->idx < b->idx) return -1;
else return 1;
}
@ -7123,7 +7123,7 @@ Array_string os__cmdline__only_non_options(Array_string args);
Array_string os__cmdline__only_options(Array_string args);
#define _const_v__token__max_keyword_len 20
v__token__KeywordsMatcher v__token__new_keywords_matcher_T_v__token__Kind(Map_string_v__token__Kind kw_map);
VV_LOCAL_SYMBOL int compare_7621314236064146737_v__token__WIndex_by_word(v__token__WIndex* a, v__token__WIndex* b) {
VV_LOCAL_SYMBOL int compare_186646746980636166_v__token__WIndex_by_word(v__token__WIndex* a, v__token__WIndex* b) {
if (string__lt(a->word, b->word)) return -1;
else return 1;
}
@ -7277,7 +7277,7 @@ time__Time time__unix2(i64 abs, int microsecond);
VV_LOCAL_SYMBOL multi_return_int_int_int time__calculate_date_from_offset(i64 day_offset_);
VV_LOCAL_SYMBOL multi_return_int_int_int time__calculate_time_from_offset(i64 second_offset_);
void v__dotgraph__start_digraph(void);
VV_LOCAL_SYMBOL void anon_fn_40181cb3d9c4559e__82(void);
VV_LOCAL_SYMBOL void anon_fn_eb34f0b759dade77__82(void);
v__dotgraph__DotGraph* v__dotgraph__new(string name, string label, string color);
void v__dotgraph__DotGraph_writeln(v__dotgraph__DotGraph* d, string line);
void v__dotgraph__DotGraph_finish(v__dotgraph__DotGraph* d);
@ -7616,7 +7616,7 @@ Option_void os__execve(string cmdpath, Array_string cmdargs, Array_string envs);
int os__is_atty(int fd);
Option_void os__write_file_array(string path, array buffer);
Option_Array_string os__glob(Array_string patterns);
VV_LOCAL_SYMBOL int compare_10044130939551424885_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_3075544183021293552_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -7934,7 +7934,7 @@ int rand__wyrand__WyRandRNG_block_size(rand__wyrand__WyRandRNG* rng);
void rand__wyrand__WyRandRNG_free(rand__wyrand__WyRandRNG* rng);
VV_LOCAL_SYMBOL Option_string v__pkgconfig__desc(string mod);
Option_v__pkgconfig__Main_ptr v__pkgconfig__main(Array_string args);
VV_LOCAL_SYMBOL int compare_6984583855671780374_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_16330786295575367509_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -8070,7 +8070,7 @@ v__pref__CompilerType v__pref__cc_from_string(string cc_str);
v__pref__Arch v__pref__get_host_arch(void);
VV_LOCAL_SYMBOL void v__pref__Preferences_parse_define(v__pref__Preferences* prefs, string define);
Array_string v__pref__Preferences_should_compile_filtered_files(v__pref__Preferences* prefs, string dir, Array_string files_);
VV_LOCAL_SYMBOL int compare_16890712418519328305_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_13661271458656804876_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -8132,7 +8132,7 @@ void sync__WaitGroup_wait(sync__WaitGroup* wg);
string _const_help__unknown_topic; // a string literal, inited later
void help__print_and_exit(string topic);
VV_LOCAL_SYMBOL string help__known_topics(string topicdir);
VV_LOCAL_SYMBOL int compare_1650400601261717902_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_10452767129756656329_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -8175,13 +8175,13 @@ v__util__Suggestion v__util__new_suggestion(string wanted, Array_string possibil
void v__util__Suggestion_add(v__util__Suggestion* s, string val);
void v__util__Suggestion_add_many(v__util__Suggestion* s, Array_string many);
void v__util__Suggestion_sort(v__util__Suggestion* s);
VV_LOCAL_SYMBOL int compare_6081961377856465380_v__util__Possibility_by_similarity(v__util__Possibility* a, v__util__Possibility* b) {
VV_LOCAL_SYMBOL int compare_6907021362050549619_v__util__Possibility_by_similarity(v__util__Possibility* a, v__util__Possibility* b) {
if (a->similarity < b->similarity) return -1;
else return 1;
}
string v__util__Suggestion_say(v__util__Suggestion s, string msg);
VV_LOCAL_SYMBOL int compare_6081961377856465380_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_6907021362050549619_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -9270,7 +9270,7 @@ v__ast__Type v__parser__Parser_parse_fn_type(v__parser__Parser* p, string name);
v__ast__Type v__parser__Parser_parse_type_with_mut(v__parser__Parser* p, bool is_mut);
v__ast__Language v__parser__Parser_parse_language(v__parser__Parser* p);
v__ast__Type v__parser__Parser_parse_inline_sum_type(v__parser__Parser* p);
VV_LOCAL_SYMBOL int compare_1376677008124459278_string(string* a, string* b) {
VV_LOCAL_SYMBOL int compare_7932637671395545435_string(string* a, string* b) {
if (string__lt(*a, *b)) return -1;
else return 1;
}
@ -11918,7 +11918,7 @@ void v__ast__TypeSymbol_free(v__ast__TypeSymbol* it) {
string_free(&(it->mod));
}
VV_LOCAL_SYMBOL void anon_fn_40181cb3d9c4559e__82(void) {
VV_LOCAL_SYMBOL void anon_fn_eb34f0b759dade77__82(void) {
println(_SLIT("}"));
}
@ -19522,7 +19522,7 @@ string string_replace_each(string s, Array_string vals) {
if (idxs.len == 0) {
return string_clone(s);
}
qsort(idxs.data, idxs.len, idxs.element_size, (int (*)(const void *, const void *))&compare_2018276881664952276_RepIndex_by_idx);
qsort(idxs.data, idxs.len, idxs.element_size, (int (*)(const void *, const void *))&compare_11653268393309465375_RepIndex_by_idx);
u8* b = malloc_noscan(new_len + 1);
int idx_pos = 0;
RepIndex cur_idx = ((RepIndex*)idxs.data)[idx_pos];
@ -22234,7 +22234,7 @@ v__token__KeywordsMatcher v__token__new_keywords_matcher_T_v__token__Kind(Map_st
}
for (int i = 0; i < _const_v__token__max_keyword_len; ++i) {
if (km.words[v_fixed_index(i, 20)].len > 0) {
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_7621314236064146737_v__token__WIndex_by_word);
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_186646746980636166_v__token__WIndex_by_word);
}
}
v__token__KeywordsMatcher _t4 = km;
@ -22261,7 +22261,7 @@ v__token__KeywordsMatcher v__token__new_keywords_matcher_T_int(Map_string_int kw
}
for (int i = 0; i < _const_v__token__max_keyword_len; ++i) {
if (km.words[v_fixed_index(i, 20)].len > 0) {
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_7621314236064146737_v__token__WIndex_by_word);
qsort(km.words[v_fixed_index(i, 20)].data, km.words[v_fixed_index(i, 20)].len, km.words[v_fixed_index(i, 20)].element_size, (int (*)(const void *, const void *))&compare_186646746980636166_v__token__WIndex_by_word);
}
}
v__token__KeywordsMatcher _t4 = km;
@ -25090,7 +25090,7 @@ VV_LOCAL_SYMBOL multi_return_int_int_int time__calculate_time_from_offset(i64 se
void v__dotgraph__start_digraph(void) {
println(_SLIT("digraph G {"));
atexit((voidptr) anon_fn_40181cb3d9c4559e__82);
atexit((voidptr) anon_fn_eb34f0b759dade77__82);
}
v__dotgraph__DotGraph* v__dotgraph__new(string name, string label, string color) {
@ -28402,7 +28402,7 @@ Option_Array_string os__glob(Array_string patterns) {
;
}
qsort(matches.data, matches.len, matches.element_size, (int (*)(const void *, const void *))&compare_10044130939551424885_string);
qsort(matches.data, matches.len, matches.element_size, (int (*)(const void *, const void *))&compare_3075544183021293552_string);
Option_Array_string _t4;
opt_ok(&(Array_string[]) { matches }, (Option*)(&_t4), sizeof(Array_string));
return _t4;
@ -32194,7 +32194,7 @@ Option_v__pkgconfig__Main_ptr v__pkgconfig__main(Array_string args) {
m->res = _const_v__pkgconfig__version;
} else if (opt->listall) {
Array_string modules = v__pkgconfig__list();
qsort(modules.data, modules.len, modules.element_size, (int (*)(const void *, const void *))&compare_6984583855671780374_string);
qsort(modules.data, modules.len, modules.element_size, (int (*)(const void *, const void *))&compare_16330786295575367509_string);
if (opt->description) {
for (int _t1 = 0; _t1 < modules.len; ++_t1) {
string mod = ((string*)modules.data)[_t1];
@ -33506,7 +33506,7 @@ void v__pref__Preferences_fill_with_defaults(v__pref__Preferences* p) {
if ((p->third_party_option).len == 0) {
p->third_party_option = p->cflags;
}
string vhash = _SLIT("17c34b0");
string vhash = _SLIT("56a3539");
p->cache_manager = v__vcache__new_cache_manager(new_array_from_c_array(7, 7, sizeof(string), _MOV((string[7]){string_clone(vhash), str_intp(6, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = v__pref__Backend_str(p->backend)}}, {_SLIT(" | "), 0xfe10, {.d_s = v__pref__OS_str(p->os)}}, {_SLIT(" | "), 0xfe10, {.d_s = p->ccompiler}}, {_SLIT(" | "), 0xfe10, {.d_s = p->is_prod ? _SLIT("true") : _SLIT("false")}}, {_SLIT(" | "), 0xfe10, {.d_s = p->sanitize ? _SLIT("true") : _SLIT("false")}}, {_SLIT0, 0, { .d_c = 0 }}})), string_clone(string_trim_space(p->cflags)), string_clone(string_trim_space(p->third_party_option)), string_clone(Array_string_str(p->compile_defines_all)), string_clone(Array_string_str(p->compile_defines)), string_clone(Array_string_str(p->lookup_path))})));
if (string__eq(os__user_os(), _SLIT("windows"))) {
p->use_cache = false;
@ -34747,7 +34747,7 @@ VV_LOCAL_SYMBOL void v__pref__Preferences_parse_define(v__pref__Preferences* pre
Array_string v__pref__Preferences_should_compile_filtered_files(v__pref__Preferences* prefs, string dir, Array_string files_) {
Array_string res = __new_array_with_default(0, 0, sizeof(string), 0);
Array_string files = array_clone_to_depth(&files_, 0);
qsort(files.data, files.len, files.element_size, (int (*)(const void *, const void *))&compare_16890712418519328305_string);
qsort(files.data, files.len, files.element_size, (int (*)(const void *, const void *))&compare_13661271458656804876_string);
Array_string all_v_files = __new_array_with_default(0, 0, sizeof(string), 0);
for (int _t1 = 0; _t1 < files.len; ++_t1) {
string file = ((string*)files.data)[_t1];
@ -35945,7 +35945,7 @@ VV_LOCAL_SYMBOL string help__known_topics(string topicdir) {
array_push((array*)&_t3, &ti);
}
Array_string topics =_t3;
qsort(topics.data, topics.len, topics.element_size, (int (*)(const void *, const void *))&compare_1650400601261717902_string);
qsort(topics.data, topics.len, topics.element_size, (int (*)(const void *, const void *))&compare_10452767129756656329_string);
array_push((array*)&res, _MOV((string[]){ string_clone(Array_string_join(topics, _SLIT(", "))) }));
array_push((array*)&res, _MOV((string[]){ string_clone(_SLIT(".")) }));
string _t7 = Array_string_join(res, _SLIT(""));
@ -36442,7 +36442,7 @@ void v__util__Suggestion_add_many(v__util__Suggestion* s, Array_string many) {
}
void v__util__Suggestion_sort(v__util__Suggestion* s) {
qsort(s->known.data, s->known.len, s->known.element_size, (int (*)(const void *, const void *))&compare_6081961377856465380_v__util__Possibility_by_similarity);
qsort(s->known.data, s->known.len, s->known.element_size, (int (*)(const void *, const void *))&compare_6907021362050549619_v__util__Possibility_by_similarity);
}
string v__util__Suggestion_say(v__util__Suggestion s, string msg) {
@ -36471,7 +36471,7 @@ string v__util__Suggestion_say(v__util__Suggestion s, string msg) {
array_push((array*)&_t1, &ti);
}
Array_string values =_t1;
qsort(values.data, values.len, values.element_size, (int (*)(const void *, const void *))&compare_6081961377856465380_string);
qsort(values.data, values.len, values.element_size, (int (*)(const void *, const void *))&compare_6907021362050549619_string);
if (values.len == 1) {
res = /*f*/string__plus(res, str_intp(2, _MOV((StrIntpData[]){{_SLIT(".\n1 possibility: "), 0xfe10, {.d_s = (*(string*)/*ee elem_sym */array_get(values, 0))}}, {_SLIT("."), 0, { .d_c = 0 }}})));
} else if (values.len < 25) {
@ -83560,7 +83560,7 @@ v__ast__Type v__parser__Parser_parse_inline_sum_type(v__parser__Parser* p) {
array_push((array*)&_t1, &ti);
}
Array_string variant_names =_t1;
qsort(variant_names.data, variant_names.len, variant_names.element_size, (int (*)(const void *, const void *))&compare_1376677008124459278_string);
qsort(variant_names.data, variant_names.len, variant_names.element_size, (int (*)(const void *, const void *))&compare_7932637671395545435_string);
string name = str_intp(2, _MOV((StrIntpData[]){{_SLIT("_v_anon_sum_type_"), 0xfe10, {.d_s = Array_string_join(variant_names, _SLIT("_"))}}, {_SLIT0, 0, { .d_c = 0 }}}));
Array_v__ast__Type _t3 = {0};
Array_v__ast__TypeNode _t3_orig = variants;
@ -90242,7 +90242,7 @@ void v__builder__Builder_cc(v__builder__Builder* v) {
v__builder__Builder_build_thirdparty_obj_files(v);
v__builder__Builder_setup_output_name(v);
if (v->pref->os != v__pref__OS__windows && string_contains(ccompiler, _SLIT("++"))) {
string cpp_atomic_h_path = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/home/runner/work/v/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/atomic.h"), 0, { .d_c = 0 }}}));
string cpp_atomic_h_path = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/woodpecker/src/git.rustybever.be/Chewing_Bever/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/atomic.h"), 0, { .d_c = 0 }}}));
if (!os__exists(cpp_atomic_h_path)) {
for (int _t4 = 0; _t4 < v->parsed_files.len; ++_t4) {
v__ast__File* file = ((v__ast__File**)v->parsed_files.data)[_t4];
@ -90257,7 +90257,7 @@ void v__builder__Builder_cc(v__builder__Builder* v) {
}
}
if (_t5) {
string cppgenv = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/home/runner/work/v/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/gen.v"), 0, { .d_c = 0 }}}));
string cppgenv = str_intp(2, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = _SLIT("/woodpecker/src/git.rustybever.be/Chewing_Bever/v")}}, {_SLIT("/thirdparty/stdatomic/nix/cpp/gen.v"), 0, { .d_c = 0 }}}));
os__execute( str_intp(4, _MOV((StrIntpData[]){{_SLIT0, 0xfe10, {.d_s = os__quoted_path(vexe)}}, {_SLIT(" run "), 0xfe10, {.d_s = os__quoted_path(cppgenv)}}, {_SLIT(" "), 0xfe10, {.d_s = os__quoted_path(ccompiler)}}, {_SLIT0, 0, { .d_c = 0 }}})));
break;
}