mozilla / rust-android-gradle

Apache License 2.0
1.03k stars 67 forks source link

Invoke the `exec` callback as late as possible #12

Closed thomcc closed 4 years ago

thomcc commented 4 years ago

Specifically, after the commandline has been set, so that it can be modified in a target-specific manner if necessary (e.g. to work around https://github.com/rust-lang/cargo/issues/2524).

The exec property was also undocumented so I fixed that too.

AFAICT this doesn't break anything, but maybe there's a reason it needs to be early (in which case a more involved workaround for cargo#2524 would be needed 😢 )