Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.
--
All posts must follow the Fuchsia Code of Conduct https://fuchsia.dev/fuchsia-src/CODE_OF_CONDUCT or may be removed.
---
You received this message because you are subscribed to the Google Groups "connectivity-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectivity-d...@fuchsia.dev.
To view this discussion on the web visit https://groups.google.com/a/fuchsia.dev/d/msgid/connectivity-dev/CAD7RJtYz6PM8AZvaiLBvEEPo0VffEN1T7uOE4ObfzatuJB1HPA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/fuchsia.dev/d/msgid/connectivity-dev/CAD7RJtb4dxfZHzq7e6ZFLm0L-Y0KJTy90LJ%3Dq9m-L%3DQuDAbw4g%40mail.gmail.com.
Another question, is `fx set minimal.x64` correct for the netstack? I used that because it seemed that core is deprecated (https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0220_the_future_of_in_tree_products).
Hey MarcoSo the "cargo" workflow is not really officially supported by the rust on fuchsia team, and it's kept around by volunteers that want tighter build loops when iterating locally during development. The sanctioned way is "fx build" and "fx test".We do have some team-specific documentation here that you're welcome to amend.We had a discussion last week after your e-mail and I forgot to loop back. In the condition where you're getting the linker error, if you run `cargo test --target x86_64-unknown-linux-gnu` (the linker error afaiu is because it's trying to build and run for Fuchsia) you'll run the netstack3-core tests on host with cargo.If you have trouble with it still the recommendation (and honestly what I do day to day) is to use `cargo check` to compile fast and `fx test` to build and run. The following Environment variables make building a little bit faster:
FUCHSIA_DISABLED_incremental=0NINJA_PERSISTENT_MODE=1Hope that helps.
--Bruno