Auto-Generate Tables in platform-support.md#150571
Conversation
This comment has been minimized.
This comment has been minimized.
|
This is very cool! I started a similar effort a while ago in #120745 but never got to completing it. Maybe some of the code in the linked PR thee may be useful |
|
@Noratrieb Thanks, I'll take a look. |
7908030 to
ab9e5d8
Compare
This comment has been minimized.
This comment has been minimized.
ab9e5d8 to
8c1125f
Compare
|
Alright, I'm set up properly now so no more failing tidy or pushing obvious mistakes. Unfortunately it looks like depending on rustc_target directly is a dead-end, I'm getting a variety of errors related to it being a compiler-internal crate that is supposed to be compiled as part of bootstrap. The commit I just pushed (8c1125f) is my last attempt in that direction unless someone else has a solution. I'm going to switch to pulling data from |
This comment has been minimized.
This comment has been minimized.
|
Executing rustc like that seems like the best approach, yes. |
8c1125f to
25ef1e7
Compare
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
☔ The latest upstream changes (presumably #151409) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@qb42 any updates on this? thanks |
|
@Dylan-DPC IIRC, the last commit I pushed worked on my machine (though without links or footnotes). I put this to the side after failing to figure out what the issue with the filepath was and forgot about it. I'll revisit in the next couple of days and see if I can get it working now I'm not in school. |
This is a rough draft inspired by @ChrisDenton in #150501 (comment). I won't have much time to work on it until next month but I wanted to get it out there.
This is implemented as an mdbook preprocessor that pulls data from the rustc_target crate, so it will always be accurate.
Assuming this works as intended (I am not set up to test locally), it's still missing the following: