Daniel Xu

Results 424 comments of Daniel Xu

Well actually, I see alpine has a package for rust on s390x: https://pkgs.alpinelinux.org/package/v3.20/main/s390x/cargo Lemme see if that works...

With 323bff0711a321df0 , I'm stuck on ``` 1.609 error[E0463]: can't find crate for `core` 1.609 | 1.609 = note: the `x86_64-unknown-linux-musl` target may not be installed 1.609 = help: consider...

> I don't really understand what that buys us, to be honest. We'd have a statically linked binary, but it now depends on a probably dynamically linked other binary blob...

> checking if we can live without those two libraries from the virtiofsd side and making them optional Yeah, that's one option. Could do a `nosecurity` feature from their side...

Sweet, sounds good. Let's park it here for now, then

Sounds reasonable to me. Need to fix #108 for this to be reliable as well. And probably needs a good integration test or two to prevent backslides.

According to https://en.cppreference.com/w/cpp/compiler_support/20, std::format has support starting at gcc 13 and clang 17. So it's pretty bleeding edge still.

Alternatively, we could just depend on https://github.com/fmtlib/fmt and then codemod all the calls to `fmt::*` at some later point.

Can't seem to reproduce this on my machine. Without uprobe_test.c changes: ``` $ sudo ./build/src/bpftrace -e 'uprobe:./build/tests/testprogs/uprobe_test:uprobeFunction2 { printf("0x%x\n", *uaddr("GLOBAL_A")) }' -c ./build/tests/testprogs/uprobe_test Attaching 1 probe... 0x55555555 ```

> > To assist with that, we add a new error for anyone trying to assign > > a large string to a scratch variable along with a remediation. >...