mirror of https://github.com/rwf2/Rocket.git
dfca18d307
Prior to this commit, codegen used 'Span' information to generate a unique id for a given route. This commit changes the id generation to instead use 1) the route's name and path, 2) a an per-generation atomically increasing ID, and 3) the ids of the process/thread the proc-macro is running in. Together, these values should provide a unique id for a given route, even in the face of the reused processes and threads, while also removing the dependence on unstable Span features. Fixes #1373. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
build.rs |