bazelbuild / bazelbuild/rules_rust

Add rule for `crate_type = dylib`

Open
#4,175 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

We have `rust_shared_library` which is `cdylib` but we have no rules for `dylib` ([forum](https://users.rust-lang.org/t/what-is-the-difference-between-dylib-and-cdylib/28847)), should this be introduced?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing `rust_shared_library` rule and how it handles `crate_type = cdylib`; read the linked forum discussion to understand the distinction from `dylib`. Done should be defined as a reviewed decision and an implemented rule or explicit decision not to add one, with coverage for the requested crate type.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.