mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Blind attempt to fix #13626
The error message was: ``` error: unknown character escape: d --> C:\projects\servo\target\debug\build\style-9b556a6c7bb4f044\out/properties.rs:44:55 | 44 | #[path="C:/projects/servo/components/style/properties\declaration_block.rs"] | ``` Use `repr()` to get a Python string literal (whose character escaping is compatible enough with Rust’s) and `[1:-1]` to remove the single quotes.
This commit is contained in:
parent
e23959a761
commit
ea97e9850b
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ pub use self::declaration_block::*;
|
|||
import os.path
|
||||
%>
|
||||
|
||||
#[path="${os.path.join(os.path.dirname(__file__), 'declaration_block.rs')}"]
|
||||
#[path="${repr(os.path.join(os.path.dirname(__file__), 'declaration_block.rs'))[1:-1]}"]
|
||||
pub mod declaration_block;
|
||||
|
||||
pub mod longhands {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue