By checking the recursion depth in the crate we are currently parsing, we can decide on the right module directory to find submodules in. The added `mod_2018` test fails without the changes to `parser.rs`.
9 lines
124 B
TOML
9 lines
124 B
TOML
[package]
|
|
name = "mod_2018"
|
|
version = "0.1.0"
|
|
authors = ["cbindgen"]
|
|
|
|
[lib]
|
|
name = "mod_2018"
|
|
crate-type = ["lib", "dylib"]
|