xiretza[cis] has quit [Quit: Idle timeout reached: 172800s]
Guest7221 has joined #rust-embedded
Guest7221 has left #rust-embedded [Error from remote client]
hmw- has quit [Quit: Bye.]
hmw has joined #rust-embedded
ryan-summers[m] has quit [Quit: Idle timeout reached: 172800s]
IlPalazzo-ojiisa has joined #rust-embedded
Guest7221 has joined #rust-embedded
lehmrob has joined #rust-embedded
Guest7221 has left #rust-embedded [Error from remote client]
Guest7221 has joined #rust-embedded
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
cyrozap has joined #rust-embedded
SeanLyons[m] has joined #rust-embedded
<SeanLyons[m]>
I am trying to link a c static library into my rust program. Does anyone know if there is any requirements of the library for `rust-lld` to like it? I am quite sure that I have the right `-L` and `-l` options. I am calling rustc directly to strip out any potential issues with cargo or build.rs.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/pjllTMzuJwluRVgDBhgRfSeo>)
<SeanLyons[m]>
* I am trying to link a c static library into my rust program. Does anyone know if there is any requirements of the library for `rust-lld` to find it? I am quite sure that I have the right `-L` and `-l` options. I am calling rustc directly to strip out any potential issues with cargo or build.rs.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/GUOdwNzXcUXFrTJVBRWyAbin>)
<SeanLyons[m]>
* I am trying to link a c static library into my rust program. Does anyone know if there is any requirements of the library for `rust-lld` to find it? I am quite sure that I have the right `-L` and `-l` options. I am calling rustc directly to strip out any potential issues with cargo or build.rs.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/GJqVUGGPRzeYtNSmzpLeLAyq>)
<diondokter[m]>
SeanLyons[m]: > <@seanmlyons22:matrix.org> I am trying to link a c static library into my rust program. Does anyone know if there is any requirements of the library for `rust-lld` to find it? I am quite sure that I have the right `-L` and `-l` options. I am calling rustc directly to strip out any potential... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/FsUIykJiVRYqZEuIoixEELrM>)
<SeanLyons[m]>
diondokter[m]: It's not right. This is just a static library of baremetal C code. Does the linker look at this? I have linked this same library into a C program before, but I assume it doesn't check?
<SeanLyons[m]>
* at this field? I
<diondokter[m]>
I don't know if it matters. But it's the only thing that stood out to me
<M9names[m]>
FWIW you get a more details from readelf if you use `readelf -h -A`
<M9names[m]>
it's probably only going to help you if you try to use a lib that uses more instructions than your variant of the ISA but it's kinda nice
s7rul[m] has joined #rust-embedded
<s7rul[m]>
<SeanLyons[m]> "It's not right. This is just a..." <- UNIX - System V is the OS/ABI is what cargo generates for emeded code targeting ARM so is probobly right.
<M9names[m]>
yeah it's fine
<SeanLyons[m]>
Huh TIL, I took a look and plenty of other C static libraries I have been using and other rust libraries had UNIX - System V is the OS/ABI as well.
<ryan-summers[m]>
Honestly, PR is pretty large. I'm a fan of moving fast and breaking things. If you're not releasing it to crates.io, it's always fine for master to have defects IMO
<ryan-summers[m]>
s/master/main/
<thejpster[m]>
I get that, but people keep being sad at me that their SD card is corrupted
<ryan-summers[m]>
If they're using main, that's their own fault
<thejpster[m]>
75 is fixed
sirhcel[m] has quit [Quit: Idle timeout reached: 172800s]
<thejpster[m]>
fair. I'll push for reviews before I get quite so far next time.
<ryan-summers[m]>
And honestly one of the reasons I've been slow to review is because the PR is huge
cyrozap has joined #rust-embedded
<ryan-summers[m]>
Kept looking and dreading :) \but now it's friday
<thejpster[m]>
it's not so bad commit by commit
<thejpster[m]>
ryan-summers[m]: which meant I kept making it bigger :rofl:
<thejpster[m]>
sorry about that
<ryan-summers[m]>
It's no biggie tbh, just gotta find the bock
GenTooMan has quit [Ping timeout: 258 seconds]
GenTooMan has joined #rust-embedded
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
cyrozap has joined #rust-embedded
fuse117[m] has quit [Quit: Idle timeout reached: 172800s]
HumanGeek has quit [Ping timeout: 246 seconds]
HumanGeek has joined #rust-embedded
Guest7221 has left #rust-embedded [Error from remote client]
xnor has quit [Remote host closed the connection]
xnor has joined #rust-embedded
Guest7221 has joined #rust-embedded
brazuca has joined #rust-embedded
GrantM11235[m] has quit [Quit: Idle timeout reached: 172800s]