[v:master] 9d764cd25 - ci: enable again the `v install ui` task
parent
e9ddfe3760
commit
e28935ca34
60
v.c
60
v.c
|
@ -1,11 +1,11 @@
|
|||
#define V_COMMIT_HASH "5e8c4a3"
|
||||
#define V_COMMIT_HASH "9d764cd25"
|
||||
|
||||
#ifndef V_COMMIT_HASH
|
||||
#define V_COMMIT_HASH "2a0b372"
|
||||
#define V_COMMIT_HASH "5e8c4a3"
|
||||
#endif
|
||||
|
||||
#ifndef V_CURRENT_COMMIT_HASH
|
||||
#define V_CURRENT_COMMIT_HASH "5e8c4a3"
|
||||
#define V_CURRENT_COMMIT_HASH "9d764cd"
|
||||
#endif
|
||||
|
||||
// V comptime_definitions:
|
||||
|
@ -7645,7 +7645,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;
|
||||
}
|
||||
|
@ -7885,7 +7885,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;
|
||||
}
|
||||
|
@ -8066,7 +8066,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;
|
||||
}
|
||||
|
@ -8215,7 +8215,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);
|
||||
|
@ -8515,7 +8515,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;
|
||||
}
|
||||
|
@ -8665,7 +8665,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;
|
||||
}
|
||||
|
@ -8726,7 +8726,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;
|
||||
}
|
||||
|
@ -8769,13 +8769,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;
|
||||
}
|
||||
|
@ -9864,7 +9864,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;
|
||||
}
|
||||
|
@ -12709,7 +12709,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("}"));
|
||||
}
|
||||
|
||||
|
@ -20495,7 +20495,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];
|
||||
|
@ -25487,7 +25487,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;
|
||||
|
@ -27838,7 +27838,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 }}})));
|
||||
|
@ -27876,7 +27876,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 }}})));
|
||||
|
@ -30514,7 +30514,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) {
|
||||
|
@ -33843,7 +33843,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];
|
||||
|
@ -35278,7 +35278,7 @@ void v__pref__Preferences_fill_with_defaults(v__pref__Preferences* p) {
|
|||
}
|
||||
#endif
|
||||
}
|
||||
string vhash = _SLIT("2a0b372");
|
||||
string vhash = _SLIT("5e8c4a3");
|
||||
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;
|
||||
|
@ -36627,7 +36627,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];
|
||||
|
@ -37384,7 +37384,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");
|
||||
|
@ -37399,7 +37399,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");
|
||||
|
@ -37873,7 +37873,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(""));
|
||||
|
@ -38370,7 +38370,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) {
|
||||
|
@ -38399,7 +38399,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) {
|
||||
|
@ -86121,7 +86121,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;
|
||||
|
@ -92899,7 +92899,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];
|
||||
|
@ -92919,7 +92919,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
56
v_win.c
|
@ -1,11 +1,11 @@
|
|||
#define V_COMMIT_HASH "5e8c4a3"
|
||||
#define V_COMMIT_HASH "9d764cd25"
|
||||
|
||||
#ifndef V_COMMIT_HASH
|
||||
#define V_COMMIT_HASH "2a0b372"
|
||||
#define V_COMMIT_HASH "5e8c4a3"
|
||||
#endif
|
||||
|
||||
#ifndef V_CURRENT_COMMIT_HASH
|
||||
#define V_CURRENT_COMMIT_HASH "5e8c4a3"
|
||||
#define V_CURRENT_COMMIT_HASH "9d764cd"
|
||||
#endif
|
||||
|
||||
// V comptime_definitions:
|
||||
|
@ -7297,7 +7297,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;
|
||||
}
|
||||
|
@ -7474,7 +7474,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;
|
||||
}
|
||||
|
@ -7627,7 +7627,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);
|
||||
|
@ -7966,7 +7966,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;
|
||||
}
|
||||
|
@ -8284,7 +8284,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;
|
||||
}
|
||||
|
@ -8420,7 +8420,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;
|
||||
}
|
||||
|
@ -8482,7 +8482,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;
|
||||
}
|
||||
|
@ -8525,13 +8525,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;
|
||||
}
|
||||
|
@ -9620,7 +9620,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;
|
||||
}
|
||||
|
@ -12271,7 +12271,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("}"));
|
||||
}
|
||||
|
||||
|
@ -19875,7 +19875,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];
|
||||
|
@ -22587,7 +22587,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;
|
||||
|
@ -22614,7 +22614,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;
|
||||
|
@ -25215,7 +25215,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) {
|
||||
|
@ -28527,7 +28527,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;
|
||||
|
@ -32319,7 +32319,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];
|
||||
|
@ -33631,7 +33631,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("2a0b372");
|
||||
string vhash = _SLIT("5e8c4a3");
|
||||
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;
|
||||
|
@ -34872,7 +34872,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];
|
||||
|
@ -36070,7 +36070,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(""));
|
||||
|
@ -36567,7 +36567,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) {
|
||||
|
@ -36596,7 +36596,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) {
|
||||
|
@ -83825,7 +83825,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;
|
||||
|
@ -90507,7 +90507,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];
|
||||
|
@ -90522,7 +90522,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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue