-
Notifications
You must be signed in to change notification settings - Fork 712
[BC Breaking] Remove runtime/core/portable_type/optional.h #15586
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Yuanyuan Chen <[email protected]>
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15586
Note: Links to docs will display an error until the docs builds have been completed. ❌ 12 New Failures, 5 Unrelated FailuresAs of commit 3ce95c8 with merge base 3f4f500 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "release notes: none" |
|
Hmm ET exposed optional as a public type, so to avoid being bc breaking you probably need to leave the header and alias the std::optional to the et namespaces edit: Ah the header already was doing that. Ok then probably just leave it. Its probably safer |
|
This is BC breaking, so it is up to the community to decide when to apply. |
|
Importing to internal as well to make sure we're not breaking any internal tests |
Summary
The usage of customised optional type has been replaced by
std::optional.