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

Remove integrator buildscript #156

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Conversation

jschwe
Copy link
Collaborator

@jschwe jschwe commented Mar 27, 2022

Follow up to #139

Remove the integrator buildscript and directly pass the linking arguments via RUSTFLAGS.

I'm keeping this as a separate PR (and commits) so that we can revert to the fixed build script in case removing the build script causes any problems.

Closes #54

@jschwe jschwe force-pushed the jschwe/remove-integrator-buildscript branch from 17d4455 to ca52a8b Compare March 27, 2022 10:59
@jschwe
Copy link
Collaborator Author

jschwe commented Mar 27, 2022

@ogoffart I probably should add that this is a breaking change, since I just removed the build script crate. I would just schedule this change for the next major release 0.2, since it is pretty easy to fix on the user side and overall an improvement.

If you want to, I guess we could still keep the build script crate for a while. I don't think it really makes sense to add a deprecation notice though since the output of build scripts is usually not visible.

Previously the integrator build script was needed to pass the
required libraries and link search paths to cargo.
However, we can do the same by directly specifying the
corresponding rustflags.

This makes life easier for new code, but is a breaking change,
since the build script crate is just removed.
Clients simply have to remove their dependency on the crate,
so the migration is simple enough.
@jschwe jschwe force-pushed the jschwe/remove-integrator-buildscript branch from ca52a8b to 233d5c1 Compare March 27, 2022 14:21
@jschwe jschwe merged commit 9949436 into master Mar 31, 2022
@jschwe jschwe deleted the jschwe/remove-integrator-buildscript branch March 31, 2022 14:43
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.

Eliminate the build-script crate
2 participants