-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[guppy] fix detection for non-lib/proc-macro targets
This RefCell is a bit convoluted, but it appears to be the fastest approach based on benchmarks. This doesn't appear to cause a statistically significant perf difference for the make_package_graph benchmark. Fixes #157.
- Loading branch information
1 parent
adbbe87
commit b511b05
Showing
3 changed files
with
66 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,15 @@ version = "0.1.0" | |
authors = ["Fake Author <[email protected]>"] | ||
edition = "2018" | ||
|
||
[lib] | ||
name = "external2" | ||
crate-type = ["rlib"] | ||
|
||
# Create an example with a crate-type that is also rlib. | ||
[[example]] | ||
name = "external3" | ||
crate-type = ["rlib"] | ||
|
||
[dependencies] | ||
transitive = { path = "../transitive" } | ||
bytes = { version = "0.5", optional = true } | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters