You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
313 B
18 lines
313 B
4 years ago
|
---
|
||
|
layout: page
|
||
|
title: Changing C/C++ version
|
||
|
permalink: /examples/quickstart
|
||
|
parent: Examples
|
||
|
nav_order: 1
|
||
|
---
|
||
|
|
||
|
# Changing C/C++ version
|
||
|
|
||
|
Simple example changing C++ to version 20 and C standard to the version 11
|
||
|
|
||
|
```toml
|
||
|
[target.example]
|
||
|
type = "executable"
|
||
|
compile-features = [ "cxx_std_20", "c_std_11" ]
|
||
|
```
|