Skip to content

(fix) Define RawMediaType in content_type for static linking. #14

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

Merged
merged 1 commit into from
Nov 5, 2014

Conversation

reem
Copy link
Owner

@reem reem commented Nov 5, 2014

By moving the definition, we can prevent linking against generator
and allow static linking. This is kind of a hack, but it works and
this is a simple crate, so that is ok.

Fixes #13

@reem
Copy link
Owner Author

reem commented Nov 5, 2014

@emk does this solve #13 for you? I think it does but am not 100% sure.

By moving the definition, we can prevent linking against generator
and allow static linking. This is kind of a hack, but it works and
this is a simple crate, so that is ok.

Fixes #13
@reem reem force-pushed the fix/static-linking branch from fdb5b63 to ea1270b Compare November 5, 2014 01:03
reem added a commit that referenced this pull request Nov 5, 2014
(fix) Define RawMediaType in content_type for static linking.
@reem reem merged commit 096be5c into master Nov 5, 2014
@reem reem deleted the fix/static-linking branch November 5, 2014 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot statically link applications that use rust-http-content-type
1 participant