v0.10.0 #122
TheRustifyer
announced in
Announcements
v0.10.0
#122
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[0.10.0]
Features
Breaking - Targets:
Executable
andTests
toml entries are removed in favour of[targets.<target_identifier>]
entries.Each targets allow the user to build N independent final products, being these
binaries (executables)
for now, while staticand dynamic libs will be implemented in the upcoming releases
NOTE: A target identifier is the string value after the
.
on any[targets.<target_identifier>]
Added a
--targets
CLI flag to manually specify what targets wants the user to be processed in the current invocation.Ex:
--targets target1,target2,tests1,tests2,tests3
Changes
Tests
:test
command now only runs those targets which they contain the stringtest
in its target identifierbreaking -
project_root
property (under the[compiler]
attribute) is renamed tocode_root
Performance
exposed through the public API. The most notorious points are:
allows to reduce the program's memory footprint dramatically, and also the size of the generated cache files, being only
created once and then only joined for being passed into iterable views that makes the full command line of every translation
unit.
kind of translation unit
if the translation unit was modified since the last program run
in the main functions of the commands generation, and then small helpers creates, depending on the kind of translation unit
processed the different arguments required for the source file
Misc and or Internal
System headers (GCC and Clang)
that are importable translation units as modules are now translation units as wellis handled exclusively via
&mut
(mutable references), allowing the codebase to be extremely fast and performantclone-on-write
idiom, to handle the data that comes borrowed since the configuration file up until the end of the processThis discussion was created from the release v0.10.0.
Beta Was this translation helpful? Give feedback.
All reactions