zakarumych / edict

Other
82 stars 6 forks source link

fix nostd build #19

Open IGBC opened 9 months ago

IGBC commented 9 months ago

Hi, this is a simple PR that fixes a couple of missing imports, and an include gate in the prelude for the scheduler and task modules, which were preventing the crate from building in no_std mode.

Please excuse the tortured git diff, it appears our systems use different line endings and git was configured to upload files in the crlf format when you created the repo. Making git honour that on Unix is pretty much impossible, so you might want to just cherry pick the lines that have actually changed.

If continued no_std support is planned going forward it might be worth adding a CI job to check it continues to compile for no_std.

Many thanks.