Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Possible to run respecting RunAOTCompilation flag? #7

Open
StachuDotNet opened this issue Apr 27, 2022 · 3 comments
Open

Possible to run respecting RunAOTCompilation flag? #7

StachuDotNet opened this issue Apr 27, 2022 · 3 comments

Comments

@StachuDotNet
Copy link

I've successfully used this tool for Dark, yielding a single .wasm file - awesome!

Currently, dotnet-wasi-sdk doesn't seem to respect the RunAOTCompilation.
Is there a way to adjust the project to respect it? Or maybe I'm incorrect in hoping for that flag to be respected here.

@SteveSandersonMS
Copy link
Owner

SteveSandersonMS commented May 5, 2022

I agree! That's definitely something we should add support for. In my estimation, most production deployments should use AOT since the additional file size isn't really much of a drawback, and the additional speed gain is definitely valuable.

No specific ETA for implementing this, though I'd certainly take a PR if you're able to figure it out. It's not easy to figure out though.

@StachuDotNet
Copy link
Author

Unfortunately, I have no idea where to start here. :)

If you provide some initial pointers, I'll know if I have the background/energy to pursue it.
If not, at least we can provide the future implementer some initial notes!

SteveSandersonMS added a commit that referenced this issue Jan 4, 2023
@kevindarby
Copy link

kevindarby commented Mar 1, 2023

Could we use the AOT build steps that these guys did? : https://github.com/pavelsavara/dotnet-wasm-todo-mvc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants