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

Jiri Vanek jvanek at redhat.com
Thu Feb 15 12:51:50 UTC 2018


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: cargo_build.patch
Type: text/x-patch
Size: 8068 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180215/79e899ac/cargo_build.patch>


More information about the distro-pkg-dev mailing list