Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Replace - with _ in environment variables #14

Closed
dtolnay opened this issue Oct 5, 2018 · 0 comments · Fixed by #15
Closed

Replace - with _ in environment variables #14

dtolnay opened this issue Oct 5, 2018 · 0 comments · Fixed by #15
Labels
good first issue Good for newcomers

Comments

@dtolnay
Copy link
Owner

dtolnay commented Oct 5, 2018

In the following, if ${CARGO_PKG_NAME} contains a hyphen then the concatenated identifier should contain an underscore instead.

mashup! {
    m["modulename"] = lib env!("CARGO_PKG_NAME");
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant