[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995626: building with rustc 1.52



librust-gtk4 0.3. fails to build with rustc 1.52.1
due to the use of syntax to embed text into source:

> #![doc = include_str!("../README.md")]

That syntax is however used only to embed README file
which is argualby acceptable to patch away.

I have succesfully built librust-gtk4 0.3 with rustc 1.52.1
using build routine similar to this:

override_dh_auto_build
	dh_auto_build || sed -i '/include_str.*README.md/d' debian/build/cargo-home/registry/src/github.com-*/*/src/lib.rs
  	dh_auto_build


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: