Skip to content

Encode/decode meta_name_values with non-string values #623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brson opened this issue Jul 6, 2011 · 6 comments
Closed

Encode/decode meta_name_values with non-string values #623

brson opened this issue Jul 6, 2011 · 6 comments
Labels
A-metadata Area: Crate metadata
Milestone

Comments

@brson
Copy link
Contributor

brson commented Jul 6, 2011

ast::meta_item supports any literal as a value but the crate metadata encoder and decoder only knows how to deal with string values. This currently just means that crate attributes with non-string literal values, e.g. #[revision = 100u], will be silently lost.

@ghost ghost assigned nikomatsakis Mar 15, 2012
@pnkfelix
Copy link
Member

Not critical for 0.6; de-milestoning

@catamorphism
Copy link
Contributor

Nominating for milestone 3, feature-complete.

@graydon
Copy link
Contributor

graydon commented May 30, 2013

accepted for feature-complete milestone

@catamorphism
Copy link
Contributor

Visiting for triage. Milestone still valid.

@huonw
Copy link
Member

huonw commented Sep 23, 2013

Triage: still a problem.

@catamorphism
Copy link
Contributor

1.0, but for now we'll probably fix the grammar to only allow strings

@bors bors closed this as completed in 68bf48e Oct 31, 2013
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Unify some BSD flags

These BSD flags have common value in all OSes, so I've merged them into root `mod.rs`.
- `O_ACCMODE`
- `O_RDONLY`
- `O_WRONLY`
- `O_RDWR`
- `O_APPEND`
- `O_CREAT`
- `O_TRUNC`
- `O_EXCL`
- `O_SYNC`
- `O_NONBLOCK`
- `O_SHLOCK`
- `O_EXLOCK`
- `O_FSYNC`
- `O_NDELAY`
pdietl pushed a commit to pdietl/rust that referenced this issue Apr 23, 2020
Link to "const functions" section from constant expressions list
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-metadata Area: Crate metadata
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants