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

Support multiple arguments with -Wl, #85

Merged
merged 3 commits into from
Sep 30, 2022
Merged

Support multiple arguments with -Wl, #85

merged 3 commits into from
Sep 30, 2022

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jun 26, 2020

This is a continuation of #73 (comment).

The implementation is straightforward, but the compatibility layer still needs tweaking. Posting this is a draft to keep the issue alive.

Up to this point, it just about worked concatenating the files together,
although Buffer.to_bytes was technically included in several versions
which already had it.

Instead, have a single compatibility layer and filter out the lines
which aren't needed using sed. This permits a single module to contain
definitions from multiple different versions of the compiler.

In passing, eliminated the deprecation warnings in 4.02 by using
String.init instead of String.map
@dra27 dra27 marked this pull request as ready for review September 30, 2022 09:43
@dra27 dra27 force-pushed the split-wl branch 2 times, most recently from 70b4f0a to 3460d7a Compare September 30, 2022 10:00
@dra27 dra27 merged commit d424969 into ocaml:master Sep 30, 2022
@dra27 dra27 deleted the split-wl branch September 30, 2022 13:47
@dra27 dra27 mentioned this pull request Nov 11, 2022
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