diff options
| author | 2020-07-05 09:51:17 -0400 | |
|---|---|---|
| committer | 2020-07-05 09:51:17 -0400 | |
| commit | 434d4af0ebc3b3f409a6c1707f80506144fce63d (patch) | |
| tree | c8f7e5317b57906cc0845db845ddc0676f7963b8 /cortex-m-rt/examples/warnings.rs | |
| parent | 1bbc1bc59bf92e74cf38502d34071dcc268d402b (diff) | |
| download | cortex-m-434d4af0ebc3b3f409a6c1707f80506144fce63d.tar.gz cortex-m-434d4af0ebc3b3f409a6c1707f80506144fce63d.tar.zst cortex-m-434d4af0ebc3b3f409a6c1707f80506144fce63d.zip | |
Mark main() with a C ABI
The documentation says that main() should have a C ABI. Additionally,
the #[entry] macro will create a main() function that has a C ABI.
Marking main() as 'extern "Rust"' is inconsistent with its calling
convention.
Diffstat (limited to 'cortex-m-rt/examples/warnings.rs')
0 files changed, 0 insertions, 0 deletions
