mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 05:48:56 +08:00 
			
		
		
		
	Fix test build error
This commit is contained in:
		| @@ -134,7 +134,6 @@ unicase = "2.6.0" | |||||||
| # Use `bencher` over criterion because it builds much faster and we don't have | # Use `bencher` over criterion because it builds much faster and we don't have | ||||||
| # many benchmarks | # many benchmarks | ||||||
| bencher = "0.1" | bencher = "0.1" | ||||||
| rusqlite-macros = { path = "rusqlite-macros", version = "0.1.0" } |  | ||||||
|  |  | ||||||
| [dependencies.libsqlite3-sys] | [dependencies.libsqlite3-sys] | ||||||
| path = "libsqlite3-sys" | path = "libsqlite3-sys" | ||||||
| @@ -159,7 +158,7 @@ name = "exec" | |||||||
| harness = false | harness = false | ||||||
|  |  | ||||||
| [package.metadata.docs.rs] | [package.metadata.docs.rs] | ||||||
| features = ["modern-full"] | features = ["modern-full", "rusqlite-macros"] | ||||||
| all-features = false | all-features = false | ||||||
| no-default-features = true | no-default-features = true | ||||||
| default-target = "x86_64-unknown-linux-gnu" | default-target = "x86_64-unknown-linux-gnu" | ||||||
|   | |||||||
| @@ -2137,6 +2137,7 @@ mod test { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     #[test] |     #[test] | ||||||
|  |     #[cfg(feature = "rusqlite-macros")] | ||||||
|     fn prepare_and_bind() -> Result<()> { |     fn prepare_and_bind() -> Result<()> { | ||||||
|         let db = Connection::open_in_memory()?; |         let db = Connection::open_in_memory()?; | ||||||
|         let name = "Lisa"; |         let name = "Lisa"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user