-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Single-File: Pass BUNDLE_PROBE property to the runtime #34845
Conversation
Tagging @swaroop-sridhar as an area owner. If you would like to be tagged for a label, please notify danmosemsft. |
f4c4315
to
a710057
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just minor stuff, looks good.
As described in the [design doc](https://github.com/dotnet/designs/blob/master/accepted/2020/single-file/design.md#startup), pass the bundle_probe function pointer encoded as a string to the runtime.
7d70de7
to
8f5a976
Compare
Type the path-string as a char16_t* string instead of wchar_t* wchar_t* size varies by architecture. bool STDMETHODCALLTYPE bundle_probe(const char16_t* path, int64_t* offset, int64_t* size);
8f5a976
to
adb4e63
Compare
@vitek-karas I updated the
to
because:
Therefore, the interface uses the fixed char16_t type. This fixed the test failures on Linux. |
As described in the design doc, pass the bundle_probe function pointer encoded as a string to the runtime.