Comments (2)
Unsure whether this should be another issue: The underlying issue here also causes generated files to be unavailable to a rust_* target even if they're explicitly added to the srcs
.
A solution that properly specifies all input files as noted here would solve both problems.
from rules_rust.
Strangely, I can't reproduce this issue on other machines. In examples/hello_lib
, disabling the src/greeter.rs
source file seems to correctly make it unavailable to hello_lib
's lib.rs
.
Going to close for now, and reopen if/when i have a more specific reproduction procedure that actually works.
from rules_rust.
Related Issues (20)
- Unable to pass apparent repo labels to `crate.annotation` attributes
- Cannot build a no_std crate that uses a proc macro that uses std HOT 1
- Revendoring all crates is broken HOT 1
- Add support for toolchain version from `rust-toolchain.toml` file HOT 2
- Using crate_universe forces serial fetching of host and target toolchains HOT 2
- Integration with rust-analyzer's automatic project discovery HOT 7
- build -sys packages with rules_foreign_cc targtes
- llvm_cov and llvm_profdata lack required libLLVM dynamic library causing coverage failure HOT 4
- regression in 0.48.0 when compiling protobuf HOT 1
- Dummy CC toolchain for wasm32
- cargo_build_script should not forward data to build.rs rust_binary
- How to set CARGO_PKG_REPOSITORY to make Autometrics compile with rules_rust? HOT 1
- Support allow/forbid of unsafe code HOT 3
- Leftover rust-analyzer specs can cause generation to fail
- Dependency vendoring broken in 0.49.1 HOT 4
- bzlmod uses nightly by default
- Optional dependencies not respected in bzlmod
- Aliases not working rust-analyzer when rust_test for crate is defined HOT 3
- New wasi targets are invalid HOT 1
- custom proc macro crate not found in a cargo workspace setup HOT 3
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 rules_rust.