Closed DeepHorizons closed 3 months ago
Hi @DeepHorizons ,
I will have a look in a few days what the issue is.
Greets Julian
Hi @DeepHorizons ,
I tried to reproduce your error message by setting up a project and pulling in the crate with default-features = false
, but I could not reproduce it.
Can you give me a minimal example? Or more infos about the architecture you are trying to compile for? Is it a 64, 32 or 16 bit platform?
Greets Julian
@JulianSchmid
I have a sample repo here: https://github.com/DeepHorizons/rust-attiny85-etherparse-test
I am trying to compile for the AVR arch, ultimate goal is to target the ATTiny85 and ATTiny404 but im just trying to get it to work on an Arduino first. It is an 8-bit platform.
Thanks for the sample repo, I could reproduce the error. So far I only tested 64 & 32 bit systems. I will have a look if I can at least partially support the platform.
Is there something specifically you want to use the crate for? Then I can put a focus on that.
I'm looking at using the crate for parsing udp data grams, over ipv6 packets, over Ethernet frames. Focus will be on DHCP.
Thanks for looking into this!
On Sun, Mar 31, 2024, 2:07 PM Julian Schmid @.***> wrote:
Thanks for the sample repo, I could reproduce the error. So far I only tested 64 & 32 bit systems. I will have a look if I can at least partially support the platform.
Is there something specifically you want to use the crate for? Then I can put a focus on that.
— Reply to this email directly, view it on GitHub https://github.com/JulianSchmid/etherparse/issues/93#issuecomment-2028848872, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKLJKOPTMTM6VPHH5OCJPDY3BGE5AVCNFSM6AAAAABFJ2HFF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYHA2DQOBXGI . You are receiving this because you were mentioned.Message ID: @.***>
I fixed the compile errors in https://github.com/JulianSchmid/etherparse/pull/94 and merged it. Your sample project now builds on my system
But a word of warning, I never tested 16 bit platforms. So I don't 100% know if there are not issues in my implementation for 16 bit platforms. If you hit anything strange, let me know.
In the mean time I opened https://github.com/JulianSchmid/etherparse/issues/95 for later to setup some CI for 16 bit systems.
I released the fix as part of https://github.com/JulianSchmid/etherparse/releases/tag/v0.14.3
Hello, I'm trying to compile
etherparse
0.14.2 in ano_std
crate but im getting errors aboutadd_2bytes
(among others) not existing.