[Pkg-rust-maintainers] About Rustc 1.2

Sylvestre Ledru sylvestre at debian.org
Mon Aug 17 14:31:53 UTC 2015


Le 13/08/2015 14:25, Sylvestre Ledru a écrit :
> Le 12/08/2015 17:44, Luca Bruno a écrit :
>> On Wednesday 12 August 2015 11:36:53 Sylvestre Ledru wrote:
>>> Hello,
>>>
>>> Just a quick update to let you know that 1.2 is almost ready.
>>> I just have an issue with the rebase of debian/patches/add-soname
>>> The code changed a lot and I need to refresh the patch.
>>> I will give it a try in the next few days but don't hesitate to step in.
>>
>> I'm a bit short on building power, so I can't test this on the fly.
>> I think the issue is that arg() now take an OsStr instead of the previous 
>> OsString.
>>
>> I Think you can just fix using this:
>>   OsString::as_os_str(&self) -> &OsStr
>>
> 
> With the help of one of my colleague working on Servo, we wrote this:
>     if dylib && t.options.linker_is_gnu {
>         let soname = [String::from("-Wl,-soname="), String::from(out_filename.file_name().unwrap().to_str().unwrap())];
>         cmd.args(&soname);
>     }
> 
> But the final link fails with:
> Does it ring a bell ?
This is related to the gcc 5 transition. I uploaded 3.6.2-1 to fix the issue
(in NEW currently).

Sylvestre



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150817/7bf57305/attachment.sig>


More information about the Pkg-rust-maintainers mailing list