Comments (5)
@eupn Yep, can confirm #45 fixes this bug.
Thanks for the quick response to this issue and the quick fix.
from macrotest.
@Emoun a new version 1.0.3
was published on crates.io.
from macrotest.
Hello and thank you for this report!
The macrotest
crate is most likely the reason because it creates a temporary cargo crate for each "set" of expansion tests and those crates (or their names/paths) are happened to be non-unique thus causing the interference. One possible solution to this might be to create temporary crates with randomized name&path to make them unique for each "set" of expansion tests thus eliminating the interference.
This solution should be implemented internally in order to support your use-case.
from macrotest.
@eupn thanks for the clarification, I was quite confused about what no bin target
referred to.
If you would like me to help you test a potential fix you implement just @ me and I'll try to run it on my use case.
from macrotest.
@Emoun feel free to pull this branch (via git dependency in cargo) and run against your project: #45.
As soon as this PR gets merged I'll publish a new version (v1.0.3
) on crates.io.
from macrotest.
Related Issues (20)
- Fails under cargo nextest HOT 2
- Request: MSRV HOT 2
- Migrate from Travis CI to Github Actions HOT 1
- Feature Request: Expand fail HOT 2
- Wrong report when macro expansion fails
- MSRV violation HOT 4
- Parallel tests fail in workspace project HOT 3
- test-project: cargo test shows failures HOT 1
- Support workspace inheritance HOT 3
- Allow RegEx or wild cards HOT 1
- Wrong lines stripped if an input contains module-level attribute
- Please publish 1.0.9 HOT 2
- v1.0.9 violates MSRV
- macrotest and trybuild together keep doing rebuilds
- Requirement to precisely pin the version of cargo-expand HOT 8
- Release latest version to fix `expand_arg` HOT 8
- workspaces `dev-dependencies` don't work HOT 2
- git tag missing for 1.0.9
- panic in syn 1 on "(/*ERROR*/)" token
- crate ownership - please appoint a co-maintainer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macrotest.