File: fix-tests-no-default-features.patch

package info (click to toggle)
rust-pest-derive 2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: makefile: 4
file content (21 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: pest-derive/examples/calc.rs
===================================================================
--- pest-derive.orig/examples/calc.rs
+++ pest-derive/examples/calc.rs
@@ -1,3 +1,4 @@
+extern crate alloc;
 mod parser {
     use pest_derive::Parser;
 
Index: pest-derive/examples/help-menu.rs
===================================================================
--- pest-derive.orig/examples/help-menu.rs
+++ pest-derive/examples/help-menu.rs
@@ -1,6 +1,7 @@
 #[macro_use]
 extern crate pest_derive;
 extern crate pest;
+extern crate alloc;
 
 use pest::Parser;