Skip to content

Update PeanutButter.EasyArgs to be AOT-friendly #83

@fluffynuts

Description

@fluffynuts

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions