!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

683 Members
Rust154 Servers

Load older messages


SenderMessageTime
21 Apr 2022
@wybpip:matrix.orgAn exploring bot left the room.00:49:23
22 Apr 2022
@linus.heckemann:matrix.mayflower.deLinux Hackerman is moving: @linus:schreibt.jetzt changed their display name from Linux Hackerman to Linux Hackerman is moving: @linus:schreibt.jetzt.07:39:33
@linus.heckemann:matrix.mayflower.deLinux Hackerman is moving: @linus:schreibt.jetzt left the room.07:56:34
27 Apr 2022
@vlinkz:matrix.orgvlinkz joined the room.05:19:30
@lanquil:matrix.orgLan Quil joined the room.21:23:52
28 Apr 2022
@felschr:matrix.orgfelschr joined the room.08:14:31
29 Apr 2022
@ilkecan:matrix.orgilkecan joined the room.12:50:30
@js:ukvly.orgJulian Stecklina

is anyone else seeing issues when rustc and the system it runs on use different versions of glibc? we're using a glibc 2.34 rustc in a nix-shell on a system with glibc 2.33 and are getting errors like:

	
16:28







error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/snuernberger/Development/particle/ws/target/debug/deps/libproc_macro_error_attr-fab057cc0610f574.so)
   --> /home/snuernberger/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:284:9
    |
284 | pub use proc_macro_error_attr::proc_macro_error;
    |         ^^^^^^^^^^^^^^^^^^^^^
14:36:24
@js:ukvly.orgJulian Stecklina *

is anyone else seeing issues when rustc and the system it runs on use different versions of glibc? we're using a glibc 2.34 rustc in a nix-shell on a system with glibc 2.33 and are getting errors like:

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/snuernberger/Development/particle/ws/target/debug/deps/libproc_macro_error_attr-fab057cc0610f574.so)
   --> /home/snuernberger/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:284:9
    |
284 | pub use proc_macro_error_attr::proc_macro_error;
    |         ^^^^^^^^^^^^^^^^^^^^^
14:36:35
@js:ukvly.orgJulian Stecklina
In reply to @js:ukvly.org

is anyone else seeing issues when rustc and the system it runs on use different versions of glibc? we're using a glibc 2.34 rustc in a nix-shell on a system with glibc 2.33 and are getting errors like:

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/snuernberger/Development/particle/ws/target/debug/deps/libproc_macro_error_attr-fab057cc0610f574.so)
   --> /home/snuernberger/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:284:9
    |
284 | pub use proc_macro_error_attr::proc_macro_error;
    |         ^^^^^^^^^^^^^^^^^^^^^

or for me on nixos 21.11:

error: /nix/store/qjgj2642srlbr59wwdihnn66sw97ming-glibc-2.33-123/lib/libpthread.so.0: undefined symbol: __libc_siglongjmp, version GLIBC_PRIVATE
   --> /home/julian/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-1.0.4/src/lib.rs:284:9
    |
284 | pub use proc_macro_error_attr::proc_macro_error;
    |         ^^^^^^^^^^^^^^^^^^^^^
14:37:06
@js:ukvly.orgJulian StecklinaI remember there being some tickets regarding this in nixpkgs, but I can't find them...14:37:36
30 Apr 2022
@hexa:lossy.networkhexa left the room.12:39:02
2 May 2022
@lara:uwu.isyaya joined the room.18:15:13
4 May 2022
@bernardo:matrix.parity.iobernardo changed their display name from bernardo to bernardo ooo (sick).11:08:31
@wybpip:matrix.orgAn exploring bot joined the room.15:02:10
@wybpip:matrix.orgAn exploring bot left the room.15:02:11
5 May 2022
@bernardo:matrix.parity.iobernardo changed their display name from bernardo ooo (sick) to bernardo.12:38:54
6 May 2022
@js:ukvly.orgJulian Stecklinahey! does anyone have a quick example of using fenix with musl target?13:17:42
@js:ukvly.orgJulian StecklinaI'm trying to build a small rust cmdline app as static binary13:17:51
7 May 2022
@a-kenji:matrix.orga-kenji
In reply to @js:ukvly.org
hey! does anyone have a quick example of using fenix with musl target?
Sorry, only with the oxalica overlay.
11:33:39
@js:ukvly.orgJulian Stecklina
In reply to @a-kenji:matrix.org
Sorry, only with the oxalica overlay.
There was a cross compiling example that worked with minor changes. So I'm good :)
11:34:56
@a-kenji:matrix.orga-kenji
In reply to @js:ukvly.org
There was a cross compiling example that worked with minor changes. So I'm good :)
Ah, awesome! Was just about to post my link. Glad it worked.
11:35:25
@a-kenji:matrix.orga-kenjiI found the musl shell is something I don't want gced often, because it takes ages to build.11:36:15
@js:ukvly.orgJulian StecklinaI should contribute a working example to the readme. I'm probably not the only one trying to do this11:36:22
@a-kenji:matrix.orga-kenjiYes, that is a good idea.11:36:54
@johnbenber:matrix.orgjohnbenber joined the room.23:38:22
9 May 2022
@srid:matrix.orgSridhar Ratnakumar joined the room.00:22:27
@srid:matrix.orgSridhar Ratnakumar
In reply to @mixedCase:matrix.org
Hey everyone. I'm trying to start a Rust project and would like to have Nix working from the start. Is there any boilerplate for this that's more up to date than https://github.com/srid/rust-nix-template?
Hi! I just updated this to use dream2nix. Changes here
00:24:36
@mixedCase:matrix.orgAndrés Rodríguez
In reply to @srid:matrix.org
Hi! I just updated this to use dream2nix. Changes here
Thanks for the release! Good to know
00:25:27
@dpc:matrix.orgdpc joined the room.00:31:20

Show newer messages


Back to Room ListRoom Version: 6