-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Freestanding support #208
base: main
Are you sure you want to change the base?
Freestanding support #208
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #208 +/- ##
==========================================
- Coverage 94.01% 93.97% -0.05%
==========================================
Files 30 30
Lines 1754 1775 +21
==========================================
+ Hits 1649 1668 +19
- Misses 105 107 +2
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
This PR implements changes to improve support for freestanding platforms, see #189:
inplace_any
move constructor was not moving the inner object correctly.snitch::io::file_open
,file_write
, andfile_close
.SNITCH_MAX_FILE_OBJECT_SIZE_BYTES
to specify the maximum size of a file object (the object used to open/write to a file, not the size of the file itself).SNITCH_WITH_STDOUT
to enable/disable the default console implementation with stdout.SNITCH_WITH_STD_FILE_IO
to enable/disable the default file output implementation with<cstdio>
.std::memmove
andstd::memcpy
.