Timeline for Why sometimes extern crate is needed?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 2, 2021 at 20:01 | comment | added | Tomasz Waszczyk | In 2021 there is no need to use it. | |
Nov 1, 2020 at 13:14 | vote | accept | Amanda Ferrari | ||
Oct 31, 2020 at 16:26 | comment | added | Ibraheem Ahmed | Can you provide the entire error message? | |
Oct 31, 2020 at 16:16 | comment | added | Amanda Ferrari |
I'm using the latest version of rust and I see no wee_alloc external crate error when using use instead of extern crate .
|
|
Oct 31, 2020 at 16:12 | answer | added | Ibraheem Ahmed | timeline score: 47 | |
Oct 31, 2020 at 16:11 | comment | added | Peter Hall |
You don't need the extern crate - only if you are using edition 2015.
|
|
Oct 31, 2020 at 15:49 | history | asked | Amanda Ferrari | CC BY-SA 4.0 |