Git Product home page Git Product logo

Comments (6)

pchickey avatar pchickey commented on July 26, 2024

Yes, we could start tagging releases, but historically there are many releases of this library (as a component of https://github.com/CraneStation/wasi-sdk) that map to a single snapshot. Those releases have included a full build of clang and rt.builtins, but in the most recent (https://github.com/CraneStation/wasi-sdk/releases/tag/wasi-sdk-8) we added a distribution of just the sysroot, which contains the wasi-libc build and rt.builtins without clang.

Does using the wasi-sdk releases work for your use case?

If not, does adding tags here that correspond to the wasi-sdk releases work?

from wasi-libc.

cjihrig avatar cjihrig commented on July 26, 2024

I'm not sure that mapping to wasi-sdk releases would work since it's possible to use WASI with wasi-libc, and no wasi-sdk. In that case, it would be nice to be able to say "try with snapshot1" for example. Until WASI completely stabilizes, I can picture users running into version compatibility issues between wasi-libc and whatever the runtime implements.

from wasi-libc.

sbc100 avatar sbc100 commented on July 26, 2024

@cjihrig are you currently using wasi-libc without wasi-sdk?

For most end users, if they want to "try with snapshot1" then for sure the best/fastest way for them to do that would be use a specific wasi-sdk version. Maybe your use case is different though? Can you explain why you don't (or can't) use wasi-sdk?

For one thing the sdk has pre-built binaries there so trying out different versions is much easier and faster as you don't need to re-compile the whole libc.

from wasi-libc.

cjihrig avatar cjihrig commented on July 26, 2024

Yes, I've been using wasi-libc directly. There is nothing about my use case that prevents me from using wasi-sdk, I just found it simple enough to clone wasi-libc, compile it, and point clang at it. I guess that is not the recommended way of doing things, so I'll close this.

from wasi-libc.

pchickey avatar pchickey commented on July 26, 2024

There's no reason not to follow your workflow, its mostly that none of the current maintainers follow it, so we haven't done anything to make it easy to track versions.

If the wasi-sdk path works for you, that is the path of least resistance for us. But if there is any issue with it, or you just would rather keep your old workflow, we can add a release cycle to this repo that works for your needs.

from wasi-libc.

sbc100 avatar sbc100 commented on July 26, 2024

Sorry I didn't mean to completely shut this down. I'm happy for us to tag versions here too.

If it made sense we could even provide binaries of just libc.. but then you normally want compiler-rt and libc++ too in order to actually build stuff.

from wasi-libc.

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.