Repository navigation
refactor: move the core into nativescript::common - #1
Merged
Merged
Conversation
Nest under nativescript:: with one sub-namespace of our own, subdivided by component, and rename the include guards to match. DESIGN.md gains the layering and direction (app runtime first on V8, ns:native next, an engine-agnostic API after), records F7, and keeps V8 types where a neutral shape would cost.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Pinned clang-format 22.1.8. Files kept comparable with a runtime's copy during the migration go in .clang-format-ignore.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the core from a top-level
ns::intonativescript::common, subdivided by component (nativescript::common::base64today). Include guards follow; the include root staysns/, since anativescript/root matches theNativeScript/source folders on case-insensitive file systems.DESIGN.md:
ns:nativecomes next, then an engine-agnostic API that existing engine layers grow into.v8::Taskand the isolate key, with hot paths reaching the loop through an isolate data slot.Formatting: CI now checks every
.h/.cppagainst the iOS runtime's.clang-formatwith clang-format 22.1.8. A file moved from a runtime and kept comparable with its copy goes in.clang-format-ignoreuntil the migration ends.Host tests pass locally (ASan/UBSan).