[rfc][icedtea-web] moving rust launchers to cargo

Jiri Vanek jvanek at redhat.com
Mon Feb 26 12:53:41 UTC 2018


Environment variables propagation check moved from test-time to compile time.

Thanx goes to Alkex!
    J.
On 02/15/2018 01:51 PM, Jiri Vanek wrote:
> As agreed on privte discussion, this pathc is moving the responsibility to build of native launchers 
> to cargo (from ourt makefiel and plain rustc).
> 
> 2018-02-15  Jiri Vanek <jvanek at redhat.com>
>      * configure.ac: added check for cargo
>      * .hgignore: added target and Cargo.lock
>      * .Makefile.am: dropped all launcher.in/libhardoced_paths_*.rs targets and rustc targets.
>      (launcher.build/$(javaws) launcher.build/$(itweb_settings) launcher.build/$(policyeditor))
>      adapted to use cargo. Variables handled in switch. (clean) now cleans all launcher.in*
>      * rust-launcher/Cargo.toml: primitive declaration of package
>      * rust-launcher/src/hardcoded_paths.rs: copied from rust-launcher/hardoced_paths.rs.in
>      adapted to get substitution via cargo rather then by sed.  Added test and wrapping getters
>      * rust-launcher/src/main.rs: copied from rust-launcher/launchers.rs. Adapted imports to new 
> infrastructure,s till just reprinting hardcoded stuff
> 
> Thanx!
>    J.
> 


-- 
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com    M: +420775390109
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cargoized2.patch
Type: text/x-patch
Size: 7937 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180226/2b6d2e99/cargoized2.patch>


More information about the distro-pkg-dev mailing list