-
Notifications
You must be signed in to change notification settings - Fork 146
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-unused-modules flag doesn't work with mkProbe module provided in std library #695
Comments
Thank you for reporting this. I don't know how people are using probes or the flag, so I don't know if some people want the flag to remove the probes -- say, if they're applying the flag when they are ready for production. If someone wants to remove probes under some circumstances, then they could probably implement that using macros or conditionals. So it's probably safe to change the behavior, to preserve probes. If you're able to attach an example in the future, that would be helpful. I made the following example, which tests both the
If compiled with just
And if you provide the The There are two stages in BSC where the To keep probes even in the presence of the flag, we would need to fix both of those stages. Some other observations: I notice that the I notice that there is an ID property |
My apologisze. When I first try mkProbe, I was on a project which enabled But I do think the name of |
bsc's
-remove-unused-modules
flag doesn't work withmkProbe
module provided in std library. When enable-remove-unused-modules
, the probe signal will be removed away.The text was updated successfully, but these errors were encountered: