<crystal-gh>
crystal/master 1ecc607 Juan Wajnerman: Avoid usage of `LibC.waitpid` during codegen because it leads to race conditions. Should fix #2303.
<RX14>
that one gives me an error even with --release
<zeno_>
I used --release flag here, but nothing happened
<RX14>
ok, I have no clue really
<jhass>
well, keep in mind that carc.in is on 32bit host, so much smaller stack
<RX14>
what
<zeno_>
I build this on my own computer, use --release flag but still stack overflow.
Philpax has joined #crystal-lang
<RX14>
well, i think tail call recursion should be a langauge feature
<zeno_>
Yeah, so I'm confused.
umurgdk has quit [Remote host closed the connection]
soveran has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
umurgdk has joined #crystal-lang
globalkeith has joined #crystal-lang
umurgdk has quit [Ping timeout: 250 seconds]
umurgdk has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
splattael has joined #crystal-lang
<crystal-gh>
[crystal] splattael opened pull request #2410: Re-set port zero after listening (master...http-server/re-set-port-zero) https://git.io/vVRHV
umurgdk has joined #crystal-lang
zeno_ has quit [Quit: 离开]
alsm has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
kfpratt has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
ql6wlld has joined #crystal-lang
kfpratt has quit []
kfpratt has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
zeno_ has joined #crystal-lang
zeno_ has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 268 seconds]
pawnbox_ has joined #crystal-lang
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/vV0WI
<crystal-gh>
crystal/master 8c587bf Ary Borenszweig: Compiler: fixed type lookup for macro defs. Fixes #2395
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
globalkeith has joined #crystal-lang
pawnbox has joined #crystal-lang
tony___ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
sw has joined #crystal-lang
<sw>
hi guys, may someone help me with a little problem with linking ext libs?
<sw>
i have a project whose root dir contains a `foreign/` directory containing a C lib (libnfd.so)
<sw>
and I have a nfd.cr containing bindings for this lib
<sw>
I've been using `@[Link(ldflags: "-L./foreign -lnfd `pkg-config --libs gtk+-3.0`")]` to make the linker find said lib, as it's not in a standard path
<sw>
but since I've upgraded to crystal 0.14 the linker cannot resolve -lnfd anymore
<sw>
is there a better way to specify the directory for the linker to search in when using ext libs in non-standard paths?
<sw>
(i've temporarily solved this by using `crystal build --link-flags -l$(PWD)/foreign` in the Makefile)
<sw>
-L$(PWD)/foreign *
umurgdk has joined #crystal-lang
Rinkana has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
pawnbox has quit [Read error: No route to host]
alsm has quit [Ping timeout: 244 seconds]
sw has quit [Quit: Page closed]
soveran has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
mark2 has quit [Remote host closed the connection]
<asterite>
BigInt is a struct and the last instruction is currently a load... not sure how llvm figures out when to do tail call optimization, but that might be one reason it doesn't in that case (I tried changing BigInt to a class and it does tail call)
<asterite>
In any case, I wouldn't rely on tail call being available in the language
<crystal-gh>
[crystal] asterite pushed 2 new commits to master: https://git.io/vV09r
<crystal-gh>
crystal/master dc2dae9 Ary Borenszweig: Formatter: some fixes. Related to comment in #2411