Skip to content

Commit eb65acf

Browse files
committed
fix compilation inside tests/first_run.v
1 parent 0fa4df7 commit eb65acf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/first_run.v

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ fn remove_repos_dir_if_exists() ! {
120120

121121
fn compile_gitly() {
122122
ilog('Compile gitly')
123-
os.execute('v -o gitly.exe .')
123+
// TODO: gitly segfaults with mbedtls (some interference with libgit2 initialisation) on Ubuntu 20.04. Investigate why exactly and fix it.
124+
// Note that using `-d use_openssl` prevents tcc from working, so the compilation will be much slower:
125+
os.execute('v -d use_libbacktrace -cg -keepc -d use_openssl -o gitly.exe .')
124126
ilog('Compiled gitly.exe, size: ${os.file_size('gitly.exe')}')
125127
}
126128

0 commit comments

Comments
 (0)