Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rust-derive-deftly
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ian Jackson
rust-derive-deftly
Merge requests
!433
Draft: Write MSRV in derive-deftly-macros Cargo.toml too
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: Write MSRV in derive-deftly-macros Cargo.toml too
msrv
into
main
Overview
2
Commits
2
Pipelines
4
Changes
1
Closed
Ian Jackson
requested to merge
msrv
into
main
8 months ago
Overview
2
Commits
2
Pipelines
4
Changes
1
Expand
This will help (at least) lib.rs print the right information.
0
0
Merge request reports
Viewing commit
83818e16
Prev
Next
Show latest version
1 file
+
5
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
83818e16
Use old syntax in build.rs
· 83818e16
Ian Jackson
authored
8 months ago
macros/build.rs
+
5
−
2
Options
@@ -14,8 +14,11 @@
// (and fast to compile) as possible.
fn
main
()
{
// We must use deprecated single colon `cargo:rustc...` syntax,
// because otherwise cargo thinks we're violating our MSRV.
// https://github.com/rust-lang/cargo/issues/14147
println!
(
r#"cargo:
:
rustc-check-cfg=cfg(derive_deftly_dprint)
cargo:
:
rustc-check-cfg=cfg(feature, values("bizarre"))"#
r#"cargo:rustc-check-cfg=cfg(derive_deftly_dprint)
cargo:rustc-check-cfg=cfg(feature, values("bizarre"))"#
);
}
Loading