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

Failure to compile the C code crashes rebar3 #70

Open
tsloughter opened this issue Dec 9, 2020 · 0 comments
Open

Failure to compile the C code crashes rebar3 #70

tsloughter opened this issue Dec 9, 2020 · 0 comments

Comments

@tsloughter
Copy link
Collaborator

I just noticed that if there is an issue in the C code that causes compilation to fail that the plugin fails when trying to do a regex:

Error: badarg
[{re,replace,
    [[....],
      "c_src/pnvalidator_nif.cpp",
      ".../c_src/pnvalidator_nif.cpp",
      [{return,list},global]],
     [{file,"re.erl"},{line,362}]},
 {pc_compilation,exec_compiler,4,
                 [{file,"..../_build/default/plugins/pc/src/pc_compilation.erl"},
                  {line,192}]},
 {pc_compilation,compile_each,5,
                 [{file,"..../_build/default/plugins/pc/src/pc_compilation.erl"},
....
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