Skip to content
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

Update PeanutButter.EasyArgs to be AOT-friendly #83

Open
fluffynuts opened this issue Nov 24, 2022 · 0 comments
Open

Update PeanutButter.EasyArgs to be AOT-friendly #83

fluffynuts opened this issue Nov 24, 2022 · 0 comments

Comments

@fluffynuts
Copy link
Owner

Expected Behavior

I'd like to be able to compile cli apps AOT, and use PeanutButter.EasyArgs because it's easy!

Actual Behavior

I can't, because under the hood, EasyArgs uses the DuckTyper, which emits code - which isn't supported on AOT targets

Steps to Reproduce the Problem

  1. Build a CLI app using EasyArgs AOT
  2. Attempt to run
  3. 💥

Specifications

  • Platform: All
  • PeanutButter Component: EasyARgs
  • PeanutButter Version: current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant