Keith Smiley

Results 1356 comments of Keith Smiley

How would this differ from linkopts if you use linkshared=True on cc_binary or cc_shared_library

I definitely think the rules based toolchain can provide a much better API for doing something like this, which I'm very interested in. I haven't attempted to make that work...

I think this is because start/end lib don't affect the DefaultInfo for the cc_library rule? https://github.com/bazelbuild/bazel/blob/5c29cc34d5deb6f6ff868c1bef9acb1ca0a74eda/src/main/starlark/builtins_bzl/common/cc/cc_library.bzl#L242-L246 https://github.com/bazelbuild/bazel/blob/5c29cc34d5deb6f6ff868c1bef9acb1ca0a74eda/src/main/starlark/builtins_bzl/common/cc/cc_library.bzl#L310-L311

I imagine having cc_library return the objects instead of the archive would be pretty trivial if we wanted

this works https://github.com/bazelbuild/rules_cc/pull/493 but maybe we still want to give some way for people to produce the static lib?

I don't think so but I haven't tested. I assume that there's somewhere in the data collection that's only looking at certain rule types but I haven't looked. I imagine...

I imagine data has mostly been ignored there because most apple app resources are handled differently

I think I'm getting hit by this as well but none of the matrix of options discussed here seems to fix the issue immediately. Which I imagine means there's another...

it looks like you're right, so at least 1 way to make it work is to create 3 separate targets for `all_tools` that are platform specific, remove all selects from...

i also saw: ``` ERROR: io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to...