-
Notifications
You must be signed in to change notification settings - Fork 470
Support the "word_size" variable in "enabled_if". #7997
Copy link
Copy link
Closed
ocaml/opam-repository
#24510Labels
proposalRFC's that are awaiting discussion to be accepted or rejectedRFC's that are awaiting discussion to be accepted or rejected
Description
Desired Behavior
The variables accessible as part of the enabled_if field of the library stanza (and probably others like executable) only support a limited range of variables that does not include word_size. I think it would make sense to include it so that one can restrict the compilation of a library to 64-bit architectures, which makes sense if you rely, e.g., on an int counters not overflowing, but you do not want to pay the extra cost of using an Int64.t.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
proposalRFC's that are awaiting discussion to be accepted or rejectedRFC's that are awaiting discussion to be accepted or rejected