You've already forked comprehensive-rust
							
							
				mirror of
				https://github.com/google/comprehensive-rust.git
				synced 2025-10-31 08:37:45 +02:00 
			
		
		
		
	Mention why we need extern crate panic_halt.
				
					
				
			This commit is contained in:
		| @@ -15,5 +15,7 @@ To use `alloc` you must implement a | |||||||
|   allocate regions of up to 2**32 bytes. |   allocate regions of up to 2**32 bytes. | ||||||
| * If any crate in your dependency tree depends on `alloc` then you must have exactly one global | * If any crate in your dependency tree depends on `alloc` then you must have exactly one global | ||||||
|   allocator defined in your binary. Usually this is done in the top-level binary crate. |   allocator defined in your binary. Usually this is done in the top-level binary crate. | ||||||
|  | * `extern crate panic_halt as _` is necessary to ensure that the `panic_halt` crate is linked in so | ||||||
|  |   we get its panic handler. | ||||||
|  |  | ||||||
| </details> | </details> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user