IRC channel logs

2025-08-18.log

back to list of logs

<almuhs>hi
<sneek>Welcome back almuhs, you have 1 message!
<sneek>almuhs, youpi says: see trivfs.h, it says "The user must define these variables", and see the texinfo documentation. Your translator has to provide these variables, to configure trivfs
<almuhs>youpi: i implemented this variables in my translator, in the rust code. But rustc is unable to find them
<almuhs>i'm trying to create a static library in my Rust project to ease the link, but i'm fighting with the compiler to import the module, because doesn't find the path
<almuhs>here are my variables: https://gitlab.com/AlmuHS/hurd-translator-in-rust/-/blob/main/Caesar_Encryption_Translator/caesar-rust/trivfs_defs/src/lib.rs
<youpi>almuhs: I don't know enough rust to be able to tell what is happening. The end result really is, according to ld, that trivfs_fsid etc. are not actually getting defined anywhere
<identity>almuhs: does adding #[used] to the variables help?
<almuhs>identity: where must i add this macro?
<identity>almuhs: after the #[unsafe(no_mangle)], or before, should not matter
<almuhs>in lib.rs, is not?
<almuhs>compiled!! Now I want to debug the translator, because it deads after load
<almuhs>I get that error when I try to execute: https://pasteboard.co/XBnxW6BQfcS2.png
<almuhs>how can I debug my translator?
<youpi>sneek: later tell almuhs https://darnassus.sceen.net/~hurd-web/hurd/debugging/translator/
<sneek>Got it.
<mightysands>Howdy hurd people
<Gooberpatrol66>gnu/hurd article in theregister https://www.theregister.com/2025/08/18/debian_hurd_13/