instead of defining prev_rust twice (for android, and for other platforms), it is possible to define a variable var/rust_arch which defaults to var/arch, except on android where we set it to x86_64. The var/rust_arch variable can then be used in the prev_rust url, and the directory name in rust/build.
android-toolchain should not need to be listed in the dependencies, if it is set as var/compiler (after the change is done in #26696 (moved)), as var/compiler is already listed in the dependencies.
the setup of the android toolchain should not be done in projects/rust/build, but in var/setup defined in project/android-toolchain/config.
Trac: Keywords: TorBrowserTeam201809R deleted, TorBrowserTeam201809 added Status: needs_review to needs_revision
Could you explain what the android.patch patch is doing, and why it is needed (for example, the error message we get without the patch)? Is it a patch we should try to get merged upstream?
Trac: Status: needs_review to needs_revision Keywords: TorBrowserTeam201810R deleted, TorBrowserTeam201810 added
Could you explain what the android.patch patch is doing, and why it is needed (for example, the error message we get without the patch)? Is it a patch we should try to get merged upstream?
dl_iterate_phdr doesn't exist on debian stretch, so we are just creating dummy version everytime.
getpagesize() is also not supported on debian stretch so we are using sysconf(_SC_PAGESIZE), which is supported
In commit 992b9324097f41c9503eb4ada393cec3da03195c, the patch is removing the empty line before targets:, but I think we should keep it as it separates the different parts of the file. Other than this it looks good to me.
In commit 992b9324097f41c9503eb4ada393cec3da03195c, the patch is removing the empty line before targets:, but I think we should keep it as it separates the different parts of the file. Other than this it looks good to me.
Looks good. Please use a new branch for fixups. That makes reviewing easier, thanks. Cherry-picked to master (commit 61cdddfa4b7daf96f6bd1a52fb25a3ec055cc401).