Fabian Meumertzheim
Fabian Meumertzheim
@Wyverald Could you assign me and add the appropriate labels?
~~@comius Do you expect `java_binary` to be starlarkified in time for Bazel 6? That would simplify the changes to the Java rules.~~ Most likely no longer necessary, as the changes...
@Wyverald Oops, I missed the use of `Closes ...` in the PR description - we should use `Work towards ...` instead. Could you reopen? For some I lack the permission...
@oquenchil I'm thinking about whether we should use a macro to pass `BAZEL_CURRENT_REPOSITORY` to the `Rlocation` function automatically (e.g. do `#define Rlocation(path) RlocationReal(path, BAZEL_CURRENT_REPOSITORY)`). Do you think that would be...
> Would users have to write that line or is it part of a file that is automatically generated? > > I don't mind adding whatever will make it easier...
> Aren't we in control of the name of the macro? Can we rename it to something that would be very unlikely to clash with anything? We can call it...
I have experimented a bit more with APIs while working on the corresponding change for Java (https://github.com/bazelbuild/bazel/pull/16549). What I now like more than the macro approach is to have users...
@katre Whenever I thought I wanted `ctx.is_tool_configuration`, what I really wanted was a way to specify how a Starlark build setting's value changes when transitioning to the exec configuration. It...
I tried fixing this by using a `FilteringPolicy` allowing both `toolchain` and `alias` targets. However, this caused undesired side effects for the Java and C++ toolchains shipped with Bazel since...
@cameron-martin Let me know if that should turn out to be infeasible. @Wyverald Do you think we should still pursue this even if rules_rust can do without it?