refactor!: rename proc_macro to avoid conflicts when building std with -Z build-std
This commit is contained in:
parent
c521e9c18e
commit
75e1bcf70a
3 changed files with 3 additions and 3 deletions
|
|
@ -72,7 +72,7 @@ version = "0.4.19"
|
|||
features = ["std"]
|
||||
|
||||
[dev-dependencies]
|
||||
proc_macro = { path = "src/tests/proc_macro", package = "tree-sitter-tests-proc-macro" }
|
||||
tree_sitter_proc_macro = { path = "src/tests/proc_macro", package = "tree-sitter-tests-proc-macro" }
|
||||
|
||||
rand = "0.8.5"
|
||||
tempfile = "3.6.0"
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@ use crate::{
|
|||
test::{parse_tests, print_diff, print_diff_key, strip_sexp_fields, TestEntry},
|
||||
util,
|
||||
};
|
||||
use proc_macro::test_with_seed;
|
||||
use std::{env, fs};
|
||||
use tree_sitter::{LogType, Node, Parser, Point, Range, Tree};
|
||||
use tree_sitter_proc_macro::test_with_seed;
|
||||
|
||||
#[test_with_seed(retry=10, seed=*START_SEED, seed_fn=new_seed)]
|
||||
fn test_corpus_for_bash(seed: usize) {
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@ use crate::{
|
|||
generate::generate_parser_for_grammar,
|
||||
parse::{perform_edit, Edit},
|
||||
};
|
||||
use proc_macro::retry;
|
||||
use std::{
|
||||
sync::atomic::{AtomicUsize, Ordering},
|
||||
thread, time,
|
||||
};
|
||||
use tree_sitter::{IncludedRangesError, InputEdit, LogType, Parser, Point, Range};
|
||||
use tree_sitter_proc_macro::retry;
|
||||
|
||||
#[test]
|
||||
fn test_parsing_simple_string() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue