Philipp Oppermann

Results 676 comments of Philipp Oppermann

Ah sorry, I missed the README note about the 1.34 MSRV. In that case, the easiest solution is probably to add a new `safe_offset_of` macro, gated behind a cargo feature....

I wasn't aware that the standard library offset_of is so close to stabilization. I'm fine with waiting a bit and using a manual workaround based on `addr_of` for packed structs...

Haha, yeah :D. I'm dealing with a file format that contains some 64-bit offsets that are only aligned to 4 bytes. It's just some prototype code to figure out the...

I'm currently working on a more detailed guide for the upcoming third edition of os.phil-opp.com. The latest draft is available at https://github.com/phil-opp/blog_os/blob/edition-3/blog/content/edition-3/posts/02-booting/index.md. Could you try whether this fixes your issues?

We should retry to reproduce this with the latest nightlies. There was another LLVM update in https://github.com/rust-lang/rust/pull/121395, which fixed some miscompilations.

Thanks for reporting this issue! > One fix for that would be to use the jobserver crate inside the build script to limit spawning new cargo invocations based on if...

I think we automatically stripped debug symbols from the kernel ELF when creating the bootable disk image in v0.9. In the current version, we don't do this anymore as users...

> I'm not sure why it's limited to 32 though, Wikipedia says some BIOS implementations are limited to at most 127. I don't remember either. We can try to increase...

Yes, setting the cache to write combining improvies the performance considerably. Mentioning it in the README and migration guide is a good idea! I also thought about setting it by...