Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unexpected or invalid argument '-c' #92

@eruizc-dev

Description

@eruizc-dev

I followed the installation instructions but I ran into an issue: both arguments '-c' and '--cc' throw an error. I managed to compile the hello world example without any flags, but if that flag was removed I'd suggest removing it from the README and instead of throwing an error display an 'obsolete' warning.

Repro steps

1 - Clone the repo following main README instructions

git clone https://github.com/adam-mcdaniel/oakc
cd oakc
cargo install -f --path .

2 - Try and compile hello_world.ok example with -c or --cc flag:

oak c examples/hello_world.ok -c

3 - Watch error:

image

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