GithubHelp home page GithubHelp logo

Comments (4)

wchargin avatar wchargin commented on July 21, 2024 1

Ah! Thank you, thank you. Indeed, it can parse cfg=... outputs from
build.rs, but only if you specify gen_buildrs = true (by design, to
make it explicit where the build isn’t necessarily hermetic), and
I hadn’t done so for this crate. Silly of me; sorry for the trouble, and
thanks for the pointer. :-)

from socket2.

Thomasdezeeuw avatar Thomasdezeeuw commented on July 21, 2024

This was done in #120, maybe @faern can elaborate why it's needed a bit.

from socket2.

faern avatar faern commented on July 21, 2024

It is very strange that you get this on rustc 1.47.0. According to the libc build script it should automatically activate libc_align when you compile it on rustc 1.25 or newer: https://github.com/rust-lang/libc/blob/master/build.rs#L56-L59

And also having socket2 activate the feature should also make the need for the __align field go away.

I have never used Bazel. Maybe it does not support features or build scripts enough?

from socket2.

faern avatar faern commented on July 21, 2024

Or maybe it simply does not parse the build script output of cargo:rustc-cfg=libc_align!? That would make kind of sense since the line includes cargo:. But then again, would not almost everything break if it did not support those? :O

from socket2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.