You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Changes / improvements
is_substruct
type property.--vector-conv
to enable the old scalar->vector conversion behaviour.def Foo = my_foo::Foo @weak;
*-add
keys in targets inmanifest.json
andproject.json
are deprecated.sources
,dependencies
and other keys in project and library files.compile
andcompile-run
if there is nomain
.--show-backtrace
option to disable backtrace for even smaller binary.@noalias
attribute.--run-once
option to delete the output file after running it.@const
attribute for macros, for better error messages with constant macros.wincrt
setting to libraries.+++
&&&
|||
as replacement for$concat
,$and
and$or
.methodsof
to type info for struct, union and bitstruct.@tag
tagof
andhas_tagof
to user defined types and members.c-include-dirs
project/manifest setting.$exec
may now provide a stdin parameter.$vaarg[...]
syntax and deprecate the old$vaarg(...)
.$vasplat
:$vasplat
and$vasplat[1..]
.$member.get(value)
to replacevalue.$eval($member.nameof)
fmod
implementation for nolibc.Fixes
dbghelp.lib
was linked even on nolibc on Windows.opt
project setting now properly documented.if (catch e = ...)
in a defer would be incorrectly copied. Causing codegen error.-o
provides. Can't specify output file #1306%
analysis was incorrect for int vectors.$include
/$exec
fixed $exec fails to resolve constant in another module dependent on file order/names #1302.s.x
.foo["test"] = {}
Segmentation Fault on String Literal Assignment in Optional Struct #1360.insert_at
incorrectly prevented inserts at the end of a list.--path
is now properly respected.--test
will now provide the full filename and the column.defer (catch err)
with a direct return error.defer (catch err)
when used together with regular defer.def
Function aliases fail when attempting to alias a method #1393.printf
will now show errors in the output when there are errors.if try
would work incorrectly in a macro.Stdlib changes
send
andrecv
added tolibc
for Posix / Win32.path.append
,path.tappend
,getcwd
,tgetcwd
,path.absolute
,ls
.env::get_config_dir
, replaced byenv::new_get_config_dir
.path.has_extension
,path.new_append
,path.temp_append
,new_cwd
,temp_cwd
,path.new_absolute
,new_ls
,temp_ls
.dstring.replace
Map
ElasticArray
.types::is_signed
,types::is_unsigned
andtypes::inner_type
.This discussion was created from the release Version 0.6.2.
Beta Was this translation helpful? Give feedback.
All reactions