From 332a66facab1b56479205610842a2f8c708d2d63 Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Thu, 23 Sep 2021 07:45:06 -0700 Subject: Upgrade rust/crates/matches to 0.1.9 Test: make Change-Id: Id3ca1af3256cb078d3206ef05e551e5d6b0170c1 --- lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib.rs') diff --git a/lib.rs b/lib.rs index b183925..01ccbf9 100644 --- a/lib.rs +++ b/lib.rs @@ -1,3 +1,8 @@ +#![no_std] + +// ANDROID: Use std to allow building as a dylib. +extern crate std; + /// Check if an expression matches a refutable pattern. /// /// Syntax: `matches!(` *expression* `,` *pattern* `)` -- cgit v1.2.3