Starts a new workspace, an independent build with its own options, code and output. name shows up in messages and errors.
#run {
w := compiler_create_workspace("scratch");
assert(get_name(w) == "scratch");
compiler_destroy_workspace(w);
}
main :: () {}compiler_create_workspace :: (name := "") -> Workspace
Parameters
- name := ""
Returns
- Workspace