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
Uh oh!
There was an error while loading. Please reload this page.
-
Changes / improvements
is_substructtype property.--vector-convto enable the old scalar->vector conversion behaviour.def Foo = my_foo::Foo @weak;*-addkeys in targets inmanifest.jsonandproject.jsonare deprecated.sources,dependenciesand other keys in project and library files.compileandcompile-runif there is nomain.--show-backtraceoption to disable backtrace for even smaller binary.@noaliasattribute.--run-onceoption to delete the output file after running it.@constattribute for macros, for better error messages with constant macros.wincrtsetting to libraries.+++&&&|||as replacement for$concat,$andand$or.methodsofto type info for struct, union and bitstruct.@tagtagofandhas_tagofto user defined types and members.c-include-dirsproject/manifest setting.$execmay now provide a stdin parameter.$vaarg[...]syntax and deprecate the old$vaarg(...).$vasplat:$vasplatand$vasplat[1..].$member.get(value)to replacevalue.$eval($member.nameof)fmodimplementation for nolibc.Fixes
dbghelp.libwas linked even on nolibc on Windows.optproject setting now properly documented.if (catch e = ...)in a defer would be incorrectly copied. Causing codegen error.-oprovides. Can't specify output file #1306%analysis was incorrect for int vectors.$include/$execfixed $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_atincorrectly prevented inserts at the end of a list.--pathis now properly respected.--testwill 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.defFunction aliases fail when attempting to alias a method #1393.printfwill now show errors in the output when there are errors.if trywould work incorrectly in a macro.Stdlib changes
sendandrecvadded tolibcfor 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.replaceMapElasticArray.types::is_signed,types::is_unsignedandtypes::inner_type.This discussion was created from the release Version 0.6.2.
Beta Was this translation helpful? Give feedback.
All reactions