From 2a97eda3b3cb61e74b9fe9641380cc77c15c766c Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 12 May 2021 12:30:19 +0200 Subject: feat(gs/emacs): Update async test snippet for tokio 1.x Change-Id: I897f3efae7920dee678f6ca03d743b12212b766c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3109 Reviewed-by: grfn Tested-by: BuildkiteCI --- users/grfn/emacs.d/snippets/rust-mode/async test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/grfn/emacs.d/snippets/rust-mode/async test b/users/grfn/emacs.d/snippets/rust-mode/async test index b48e443cb8..8465225663 100644 --- a/users/grfn/emacs.d/snippets/rust-mode/async test +++ b/users/grfn/emacs.d/snippets/rust-mode/async test @@ -4,7 +4,7 @@ # key: atest # condition: t # -- -#[tokio::test(threaded_scheduler)] +#[tokio::test(flavor = "multi_thread")] async fn ${1:test_name}() { `%`$0 } \ No newline at end of file -- cgit 1.4.1