Closed wuzhengzheng closed 1 year ago
It won't optimize a barrel project. That's intentional, because the optimizer assumes it can see the entire program, and removes unused parts. But with a barrel project everything is unused - until you reference the barrel from an application.
But you should be able to optimize a project that uses a barrel - so there's no real need to optimize a barrel project on its own anyway.
If you're trying to optimize an application that uses a barrel, and it doesn't work, please let me know, with as much detail as possible; otherwise, not optimizing barrel projects is as intended.
I'm going to close this, since as described above, not optimizing barrel projects is as intended. If that's wrong, and you're having problems optimizing an application that uses barrels, comment here and I'll re-open.
I recently noticed that exporting certain projects that use barrels would fail, even though build, or build and run would work.
Perhaps that's what this issue was about?
In any case, that issue is now fixed in the latest release.
Hello author, first of all your project is fantastic. But when it comes to a few items about barrels, it would not be able to run. Have you noticed these problems? Or do you have any good solutions?