Uh oh!
There was an error while loading. Please reload this page.
Baseline System.Speech for trimming errors - #61874
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.
ghost
commented
Nov 20, 2021
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue DetailsThis PR is just ask to start producing list of ILLink warnings
|
ghost
commented
Nov 22, 2021
Tagging subscribers to 'linkable-framework': @eerhardt, @vitek-karas, @LakshanF, @sbomer, @joperezr Issue DetailsThis PR is just ask to start producing list of ILLink warnings
|
vitek-karas
commented
Nov 22, 2021
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 |
kant2002
commented
Nov 22, 2021
Nice, thanks a lot. I suspect that there was some way to make that file automatically! will try. |
eerhardt
commented
Nov 30, 2021
See the changes here: #44264. This PR stalled on writing docs and wasn't picked up again. |
eerhardt
commented
Nov 30, 2021
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 |
kant2002
commented
Dec 5, 2021
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? |
eerhardt
commented
Dec 5, 2021
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. |
ghost
commented
Dec 6, 2021
Tagging subscribers to this area: @danmoseley Issue DetailsThis PR is just ask to start producing list of ILLink warnings
|
danmoseley
commented
Dec 6, 2021
Looks like the errors need baselining to fix the build |
danmoseley
commented
Jan 3, 2022
@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.