Skip to content

Table of default arguments

Zeioth edited this page Aug 30, 2023 · 29 revisions

The default arguments we pass to the compiler of every language are show warnings and compile in debug mode. We do this so you can debug the resulting executable using DAP.

Language Compiler Default arguments we pass
c gcc -Wall -g
c++ g++ -Wall -g
c# csc -warn:4 /debug
c# dotnet "" for csc. For dotnet it requires you to use its own building system, there is no way to pass compiler arguments to dotnet using compiler.nvim: For border cases, use the terminal instead.
f# dotnet Because dotnet requires you to use its own building system, there is no way to pass compiler arguments to dotnet using compiler.nvim: For border cases, use the terminal instead.
visual basic dotnet dotnet Because dotnet requires you to use its own building system, there is no way to pass compiler arguments to dotnet using compiler.nvim: For border cases, use the terminal instead.
f# dotnet Because dotnet requires you to use its own building system, there is no way to pass compiler arguments to dotnet using compiler.nvim: For border cases, use the terminal instead.
java javac -Xlint:all
kotlin kotlinc ""
rust rustc -D warnings -g
go go build -a -gcflags='-N -l'
zig zig Because zig requires you to use its own building system, there is no way to pass compiler arguments to zig using compiler.nvim: For border cases, use the terminal instead.
asm x86-64 nasm to compile and mingw-w64 to call the linker ld -g
r Rscript ""
python python (interpreted), nuitka (machine code), pyinstaller (bytecode) "" (interpreted), --warn-implicit-exceptions --warn-unusual-code (machine code), --log-level WARN --python-option W (bytecode)
ruby ruby ""
lua lua ""
perl perl ""
dart dart or flutter ""
dart dart or flutter ""
typescript tsc and node "--dirOut /dist" (tsc)
javascript node ""
shell sh ""
make make ""

This information is important so you can pass your own arguments to the compiler using a .solution.toml file.

Clone this wiki locally