ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
Munto has joined #crystal-lang
<FromGitter> <Sonahit> Hello. I am trying to compile but got this error. Why is it going for root bin rather that /usr/bin or somewhere else ??? ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=61959d8042fc2863b2137858]
<FromGitter> <Sonahit> Version ⏎ ⏎ ```Crystal 1.2.2 (2021-11-13) ⏎ ⏎ LLVM: 13.0.0 ⏎ Default target: x86_64-pc-linux-gnu``` ⏎ ⏎ OS ... [https://gitter.im/crystal-lang/crystal?at=61959db042fc2863b2137897]
<FromGitter> <Sonahit> > Hello. I am trying to compile but got this error. Why is it going for root bin rather that /usr/bin or somewhere else ??? ⏎ > ``` ⏎ > Unhandled exception: Unable to get file info: '/root/bin/pkg-config': Permission denied (File::AccessDeniedError) ⏎ > from crystal in '??' ⏎ > from crystal in '??' ... [https://gitter.im/crystal-lang/crystal?at=6195ac4776e3791755eff137]
ur5us has quit [Ping timeout: 264 seconds]
Anyweys has joined #crystal-lang
Anyweys has quit [Quit: WeeChat 3.3]
Anyweys has joined #crystal-lang
Anyweys has quit [Ping timeout: 268 seconds]
notzmv has quit [Ping timeout: 265 seconds]
hightower2 has joined #crystal-lang
notzmv has joined #crystal-lang
hightower2 has quit [Ping timeout: 260 seconds]
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 260 seconds]
xyhuvud has quit [Ping timeout: 265 seconds]
yxhuvud has joined #crystal-lang
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 265 seconds]
hightower2 has joined #crystal-lang
Anyweys has joined #crystal-lang
Anyweys has quit [Ping timeout: 250 seconds]
yxhuvud has quit [Ping timeout: 268 seconds]
hightower2 has quit [Ping timeout: 260 seconds]
olbat[m] has quit [K-Lined]
repo[m] has quit [K-Lined]
jhass[m] has quit [K-Lined]
fifr[m] has quit [K-Lined]
petoem has quit [K-Lined]
jhass[m] has joined #crystal-lang
greenbigfrog has quit [Ping timeout: 256 seconds]
kevinsjoberg has quit [Ping timeout: 256 seconds]
kiwiroy has quit [Ping timeout: 250 seconds]
r0bby has quit [Read error: Connection reset by peer]
pusewic|away_ has quit [Write error: Connection reset by peer]
pusewic|away_ has joined #crystal-lang
kiwiroy has joined #crystal-lang
fifr[m] has joined #crystal-lang
olbat[m] has joined #crystal-lang
repo[m] has joined #crystal-lang
petoem has joined #crystal-lang
r0bby has joined #crystal-lang
kevinsjoberg has joined #crystal-lang
greenbigfrog has joined #crystal-lang
hightower2 has joined #crystal-lang
olbat[m] has quit [Quit: Client limit exceeded: 20000]
jhass[m] has quit [Quit: Client limit exceeded: 20000]
fifr[m] has quit [Quit: Client limit exceeded: 20000]
repo[m] has quit [Quit: Client limit exceeded: 20000]
Anyweys has joined #crystal-lang
Anyweys has quit [Quit: WeeChat 3.3]
Anyweys has joined #crystal-lang
<FromGitter> <ryanprior:matrix.org> Is there's a decent way to run WASM binaries from my Crystal code?
jhass[m] has joined #crystal-lang
fifr[m] has joined #crystal-lang
repo[m] has joined #crystal-lang
olbat[m] has joined #crystal-lang
<FromGitter> <ryanprior:matrix.org> Maybe I need to create bindings to Wasmer or something
<FromGitter> <ryanprior:matrix.org> Ah and indeed there's an open ticket for that: https://github.com/wasmerio/wasmer/issues/2644
<FromGitter> <ryanprior:matrix.org> I haven't created any Crystal bindings before but I bet I could figure it out looking at some examples. If anybody has a handy guide I'd appreciate a link :)
<riza> @ryanprior check out https://crystal-lang.org/reference/syntax_and_semantics/c_bindings/index.html -- this page is mostly blank but in the index on the left there are references for each of the things you'll need
ur5us has joined #crystal-lang
hightower3 has joined #crystal-lang
hightower2 has quit [Read error: Connection reset by peer]
ur5us_ has joined #crystal-lang
ur5us has quit [Remote host closed the connection]
<FromGitter> <paulocoghi> @ryanprior:matrix.org I found some interesting discussions about WASM on Crystal here: https://gitter.im/crystal_wasm/implementation
<FromGitter> <ryanprior:matrix.org> @paulocoghi: correct me if I'm wrong but that seems to be about wasm as a crystal compilation target, rather than a crystal runtime for arbitrary wasm binaries
<FromGitter> <paulocoghi> You are right. Sorry
ur5us_ has quit [Ping timeout: 260 seconds]
ur5us_ has joined #crystal-lang