Skip to content

Conversation

@Edouard-chin
Copy link
Member

Parse the extconf instead of running it:

  • Loading the extconf.rb file was required as we need to be able to detect the create_makefile call in order to know the resultin binary name (the first argument to the method). We need to know the resulting binary name in order to properly setup rake compiler.

    Running the extconf was really hacky so instead we'll parse it with Prism.

- Loading the extconf.rb file was required as we need to be able to
  detect the `create_makefile` call in order to know the resultin
  binary name (the first argument to the method). We need to know
  the resulting binary name in order to properly setup rake compiler.

  Running the extconf was really hacky so instead we'll parse it with
  Prism.
@Edouard-chin Edouard-chin merged commit a2959de into main Nov 17, 2025
20 checks passed
@Edouard-chin Edouard-chin deleted the ec-parse-extconf branch November 17, 2025 17:04
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

Successfully merging this pull request may close these issues.

1 participant