Stream: t-compiler/const-eval

Topic: negate -Z


RalfJ (Nov 15 2018 at 15:04, on Zulip):

How do I unset a boolean -Z flag? =0 does not work...

oli (Nov 15 2018 at 15:04, on Zulip):

uh, I don't think you can

RalfJ (Nov 15 2018 at 15:05, on Zulip):

wtf

RalfJ (Nov 15 2018 at 15:05, on Zulip):

that's an odd restriction^^

oli (Nov 15 2018 at 15:06, on Zulip):

well... you can just not specify the flag ;)

RalfJ (Nov 15 2018 at 15:21, on Zulip):

not if other passes already add it earlier in the list of flags

oli (Nov 15 2018 at 15:24, on Zulip):

you can filter out the flag from the Vec of flags

RalfJ (Nov 15 2018 at 15:27, on Zulip):

all I had was // compile-flags: to add more flags

RalfJ (Nov 15 2018 at 15:27, on Zulip):

but actually I found a way to entirely avoid this

RalfJ (Nov 15 2018 at 15:27, on Zulip):

(see the UCG stream for the evil example that lets me avoid multiple compilation units where some dont do retagging.^^)

RalfJ (Nov 15 2018 at 15:27, on Zulip):

so, never mind.

Last update: Nov 15 2019 at 20:00UTC