Git Product home page Git Product logo

Comments (3)

valpackett avatar valpackett commented on April 28, 2024

Please at least do the libc++ thing, anything depending on unmodified shaderc-rs is literally unusable because the -lstdc++ linker argument makes everything blow up :(

from shaderc-rs.

antiagainst avatar antiagainst commented on April 28, 2024

Thanks for the comment. But I'm not familiar with FreeBSD and don't have a FreeBSD environment for developing to make sure everything functions properly. If you can send a pull request that would be awesome!

from shaderc-rs.

valpackett avatar valpackett commented on April 28, 2024

Well, there's the whole CLA thing. I don't remember if the CLA form requires lots of personal information still, but I can't even sign into the google account for my current email address because it insists on a phone number >_<

Anyway my previous comment is a bit wrong, there's actually no -lstdc++, just lack of -lc++.

You can get away with no testing, I have already tested the following very obvious changes: just treat "freebsd" exactly as "macos" in these three places:

if target_os == "macos" {

("macos", _) => {

("macos", _) => println!("cargo:rustc-link-lib=dylib=c++"),

from shaderc-rs.

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.