Skip to content

Support multiple arguments with -Wl, - #85

Merged
dra27 merged 3 commits into
ocaml:masterfrom
dra27:split-wl
Sep 30, 2022
Merged

dra27 merged 3 commits into
ocaml:masterfrom
dra27:split-wl

Conversation

@dra27

@dra27 dra27 commented Jun 26, 2020

Copy link
Copy Markdown
Member

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