Skip to content
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

nom optimized build errors #23

Open
flip111 opened this issue Mar 2, 2019 · 2 comments
Open

nom optimized build errors #23

flip111 opened this issue Mar 2, 2019 · 2 comments

Comments

@flip111
Copy link
Contributor

flip111 commented Mar 2, 2019

with stable rustc 1.33.0

error[E0554]: #![feature] may not be used on the stable release channel
 --> src/main.rs:1:1
  |
1 | #![feature(const_fn)]
  | ^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
 --> src/main.rs:2:1
  |
2 | #![feature(cfg_target_feature, target_feature, stdsimd)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

with version 1.34.0-nightly (c1d2d83ca 2019-03-01)

error[E0019]: constant function contains unimplemented expression type
   --> src/combinators.rs:245:12
    |
245 |     return c == '\t' as u8 || (c > 31 && c != 127);
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0019]: constant function contains unimplemented expression type
   --> src/combinators.rs:251:14
    |
251 |     return !(c <= 32 || c >= 127 || c == '(' as u8 || c == ')' as u8 || c == '<' as u8
    |              ^^^^^^^^^^^^^^^^^^^
@flip111
Copy link
Contributor Author

flip111 commented Mar 2, 2019

same problem with "combine-optimized"

@flip111
Copy link
Contributor Author

flip111 commented Mar 2, 2019

this is for the HTTP test by the way

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

No branches or pull requests

1 participant