Note about supported targets #1608
andrewbaxter
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From #238 (comment)
reply from @Emilgardis
That's fair enough! I agree that the readme is technically correct. I do still think it's still easy for people new to the project to miss that information:
There's a lot of unqualified suggestions to use
cross
around the internet and you may arrive at the project assuming the target is supported. The opening really gives the feeling of "if you need to cross compile, this is the tool you want"There's no mention of supported targets until more than halfway down the long readme
It's hard to notice something missing
The supported targets section has a ton of qualification. What does
C++
mean? orQEMU
? There's entries there withN/A
in multiple columns, maybe those aren't supported and listed in the table to show that? You can read it, not understand the details, and come to the conclusion that that section is for advanced users.I think what "supported" means isn't clear:
The qualification here also could lead to other interpretations: This could mean that unlisted targets are still able to compile trivial crates, or maybe compiling Cargo is a perfectionist goal and msvc works pretty well but wasn't able to achieve that specific goal. I can't directly connect this definition to needing to manually build an image, and
cross
can compile stuff formsvc
once you set up the image which seems like it might fit the definition.I don't have a strong opinion here, but if adding a note gets some misguided people on the right track it might reduce the number of issues/discussions in the long run.
Beta Was this translation helpful? Give feedback.
All reactions