]> git.proxmox.com Git - cargo.git/commit
Auto merge of #7222 - xanderio:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 8 Aug 2019 14:12:02 +0000 (14:12 +0000)
committerbors <bors@rust-lang.org>
Thu, 8 Aug 2019 14:12:02 +0000 (14:12 +0000)
commit275de19ab1b9d9ace2589b3e3f088ad5d6fd5bd6
tree869006e08c9ce37698d25f330014dd97fa5683e7
parent42a8c0adf91323c01228268c651aef5366b25b69
parentc5c7227e42d545f08a35d73696e7b5a08a163a75
Auto merge of #7222 - xanderio:master, r=alexcrichton

enable progress bar for FreeBSD

As FreeBSD uses a unsigned long for the IOCTL syscall this code would
previously fail to compile. Adding a call to into() fixes this problem.

This code should still work on other platfroms as into() is able to
'convert' an u32 into a u32.

Also change the cfg attributes so that the working code is used.

This may also work on other not yet supported platforms, but it was not
tested.