-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Baseline System.Speech for trimming errors #61874
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
Conversation
This PR is just ask to start producing list of ILLink warnings for System.Speech. I would like to eventually make ComWrappers for this library, but for now, I think there other low-hanging fruit which can be reached here.
|
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue DetailsThis PR is just ask to start producing list of ILLink warnings
|
|
Tagging subscribers to 'linkable-framework': @eerhardt, @vitek-karas, @LakshanF, @sbomer, @joperezr Issue DetailsThis PR is just ask to start producing list of ILLink warnings
|
|
There could be other ways to do this, but my trick to get all the warnings baselined is:
Take the xml file for Speech and put it in place of the |
|
Nice, thanks a lot. I suspect that there was some way to make that file automatically! will try. |
See the changes here: #44264. This PR stalled on writing docs and wasn't picked up again. |
In #62160 (comment) @stephentoub mentions
I'm concerned that refactoring the interop layer here without a decent set of tests could introduce bugs. @kant2002 - can you describe why you would like to make System.Speech trimmable? cc @danmoseley |
|
Personally my case maybe not very compelling. I just try everything under NativeAOT and "fix" what's possible to smooth experience of NativeAOT users. I trying do that in the areas where MS does not invest resources, right now, but at least consider this is important (to not have my efforts axed). CoreRT was suffering from the assumption that MS do everything and eventually that tech will works. I think this is mostly education problem, and I want to cover as much of .NET world as possible. "System.Speech" IMO is important part of ecosystem enough. It is very inspirational library, even if it's lacking of documentation and support. I understand that taking any changes without tests is a risk, but there no tests. So maybe I can start breaking that cycle and add some tests first? |
That would be very welcomed, at least IMO.
Even with tests, changes have risk. We have tests for So we have to weigh the risk vs. reward in these kinds of changes. I think we can make them. Starting with a good set of tests is definitely a good first step. |
|
Tagging subscribers to this area: @danmoseley Issue DetailsThis PR is just ask to start producing list of ILLink warnings
|
|
Looks like the errors need baselining to fix the build |
|
@kant2002 thanks for this start. I will close this PR for now pending updates, feel free to reopen if you plan to continue. |
This PR is just ask to start producing list of ILLink warnings
for System.Speech. I would like to eventually make ComWrappers for this
library, but for now, I think there other low-hanging fruit which can
be reached here.